Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 213.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.009915/0.009915, allocations: 1.255 MB / 313.7 MB, free: 1.746 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: FluxTubesExtension requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.88 kB / 436.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.118, allocations: 53.64 MB / 490.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.006453/0.1245, allocations: 2.664 MB / 492.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.1292, allocations: 1.569 MB / 494.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.1297, allocations: 4 kB / 494.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1308, allocations: 183 kB / 494.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.1313, allocations: 103.2 kB / 494.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1324, allocations: 303.2 kB / 494.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.1332, allocations: 394.4 kB / 495.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.1335, allocations: 73.97 kB / 495.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.1339, allocations: 163.4 kB / 495.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.1342, allocations: 147.2 kB / 495.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.1343, allocations: 28 kB / 495.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.1348, allocations: 175.6 kB / 495.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1349, allocations: 79.69 kB / 496 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.1352, allocations: 139.3 kB / 496.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008759/0.1361, allocations: 462 kB / 496.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1361, allocations: 4 kB / 496.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1361, allocations: 0 / 496.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1361, allocations: 3.984 kB / 496.6 MB, free: 3.547 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001435/0.1376, allocations: 0.5867 MB / 497.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1376, allocations: 8.031 kB / 497.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.1379, allocations: 48.66 kB / 497.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.1385, allocations: 233 kB / 497.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.1385, allocations: 21.03 kB / 497.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.1386, allocations: 28.33 kB / 497.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.1394, allocations: 300.1 kB / 497.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1394, allocations: 0 / 497.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.1395, allocations: 8 kB / 497.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.1395, allocations: 8 kB / 497.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.1403, allocations: 250.4 kB / 498 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1427, allocations: 0.8788 MB / 498.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.1433, allocations: 233 kB / 499.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.1435, allocations: 116.8 kB / 499.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.501e-05/0.1436, allocations: 19.97 kB / 499.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.1436, allocations: 34.56 kB / 499.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.294e-06/0.1436, allocations: 0 / 499.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004894/0.1485, allocations: 1.486 MB / 0.489 GB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.1486, allocations: 55.41 kB / 0.4891 GB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.149, allocations: 272.1 kB / 0.4894 GB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.149, allocations: 33.7 kB / 0.4894 GB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1492, allocations: 204.5 kB / 0.4896 GB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1493, allocations: 126.9 kB / 0.4897 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1494, allocations: 69.59 kB / 0.4898 GB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1496, allocations: 342.8 kB / 0.4901 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.1499, allocations: 112 kB / 0.4902 GB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1502, allocations: 168.5 kB / 0.4904 GB, free: 13.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.1507, allocations: 298.1 kB / 0.4907 GB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1507, allocations: 3.938 kB / 0.4907 GB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001714/0.1525, allocations: 0.6252 MB / 0.4913 GB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1525, allocations: 8 kB / 0.4913 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1525, allocations: 0 / 0.4913 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.1551, allocations: 0.5246 MB / 0.4918 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1554, allocations: 63.89 kB / 0.4918 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.1565, allocations: 1.288 MB / 0.4931 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1568, allocations: 8 kB / 0.4931 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.1568, allocations: 20.11 kB / 0.4931 GB, free: 10.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.157, allocations: 157.7 kB / 0.4933 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.1571, allocations: 27.81 kB / 0.4933 GB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.1587, allocations: 0.5837 MB / 0.4939 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1587, allocations: 4 kB / 0.4939 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1588, allocations: 4 kB / 0.4939 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1588, allocations: 7.984 kB / 0.4939 GB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.1609, allocations: 0.9345 MB / 0.4948 GB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1609, allocations: 0 / 0.4948 GB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.1611, allocations: 47.97 kB / 0.4949 GB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.1637, allocations: 0.5324 MB / 0.4954 GB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1637, allocations: 11.98 kB / 0.4954 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1647, allocations: 1.276 MB / 0.4966 GB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1647, allocations: 4.031 kB / 0.4966 GB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.1666, allocations: 0.8072 MB / 0.4974 GB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1667, allocations: 23.84 kB / 0.4974 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.1667, allocations: 8 kB / 0.4975 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1669, allocations: 11.98 kB / 0.4975 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.167, allocations: 23.91 kB / 0.4975 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.167, allocations: 20.05 kB / 0.4975 GB, free: 6.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.1673, allocations: 195.1 kB / 0.4977 GB, free: 5.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1673, allocations: 0 / 0.4977 GB, free: 5.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.1677, allocations: 83.94 kB / 0.4978 GB, free: 5.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.1679, allocations: 146 kB / 0.4979 GB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008224/0.1688, allocations: 316.6 kB / 0.4982 GB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.1688, allocations: 7.938 kB / 0.4982 GB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.1692, allocations: 171.8 kB / 0.4984 GB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1696, allocations: 41.16 kB / 0.4984 GB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1711, allocations: 0.7478 MB / 0.4992 GB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1713, allocations: 185.5 kB / 0.4993 GB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1714, allocations: 26.27 kB / 0.4994 GB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.1715, allocations: 19.44 kB / 0.4994 GB, free: 4.191 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1715, allocations: 0 / 0.4994 GB, free: 4.191 MB / 366.1 MB Notification: Performance of Templates: time 0.008894/0.1804, allocations: 3.566 MB / 0.5029 GB, free: 0.6445 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.368069756776094] Failed to read output from testmodel.py, exit status != 0: 0.4265885204076767 0.451604469 0.31002778200000003 Calling exit ...