Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001326/0.001326, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001427/0.001427, allocations: 215 kB / 21.45 MB, free: 1.641 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.535/1.535, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 63.91 kB / 0.4916 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1508, allocations: 65.99 MB / 0.556 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.004057/0.1549, allocations: 1.731 MB / 0.5577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.1551, allocations: 87.72 kB / 0.5578 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.1551, allocations: 3.938 kB / 0.5578 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.87e-05/0.1552, allocations: 15.86 kB / 0.5578 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.781e-05/0.1553, allocations: 23.72 kB / 0.5579 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.1554, allocations: 27.97 kB / 0.5579 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1556, allocations: 103.6 kB / 0.558 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1557, allocations: 43.95 kB / 0.558 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.1558, allocations: 43.84 kB / 0.5581 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.1559, allocations: 55.77 kB / 0.5581 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1559, allocations: 8 kB / 0.5581 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.156, allocations: 16 kB / 0.5581 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.156, allocations: 23.92 kB / 0.5582 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.1561, allocations: 51.73 kB / 0.5582 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1563, allocations: 115.6 kB / 0.5583 GB, free: 3.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1563, allocations: 0 / 0.5583 GB, free: 3.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1563, allocations: 0 / 0.5583 GB, free: 3.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1563, allocations: 3.938 kB / 0.5583 GB, free: 3.551 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000802/0.1571, allocations: 423 kB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1571, allocations: 12.03 kB / 0.5587 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/0.1571, allocations: 192 / 0.5587 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1572, allocations: 46.73 kB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1572, allocations: 16.89 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1574, allocations: 180.2 kB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1574, allocations: 8.375 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1575, allocations: 4.375 kB / 0.559 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.1578, allocations: 133.9 kB / 0.5591 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1578, allocations: 0 / 0.5591 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1579, allocations: 4 kB / 0.5591 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1579, allocations: 4 kB / 0.5591 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.1582, allocations: 103.8 kB / 0.5592 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.1591, allocations: 475.4 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1594, allocations: 78.53 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.1596, allocations: 64.92 kB / 0.5598 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1597, allocations: 0 / 0.5598 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1597, allocations: 34.5 kB / 0.5598 GB, free: 1.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 4.769e-06/0.1597, allocations: 3.984 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009333/0.1606, allocations: 275.4 kB / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.1607, allocations: 51.41 kB / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1608, allocations: 117.8 kB / 0.5603 GB, free: 1.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1608, allocations: 25.7 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.1609, allocations: 108.2 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.161, allocations: 23.78 kB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.161, allocations: 21.72 kB / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1612, allocations: 318.8 kB / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1613, allocations: 35.95 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1615, allocations: 66.47 kB / 0.5608 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.1619, allocations: 98.5 kB / 0.5609 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1619, allocations: 0 / 0.5609 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004548/0.1623, allocations: 150.3 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1623, allocations: 9.812 kB / 0.5611 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1623, allocations: 4 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.1625, allocations: 20.84 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1626, allocations: 15.98 kB / 0.5611 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.1641, allocations: 1.408 MB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1642, allocations: 11.98 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1642, allocations: 4.062 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.1643, allocations: 125.8 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1644, allocations: 11.89 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.1644, allocations: 8.375 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1644, allocations: 4 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1644, allocations: 0 / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1644, allocations: 144 / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.1651, allocations: 428 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1651, allocations: 0 / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.1652, allocations: 23.89 kB / 0.5631 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.1653, allocations: 20.86 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1653, allocations: 32 / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.1665, allocations: 1.398 MB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1665, allocations: 8.094 kB / 0.5645 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.167, allocations: 241.1 kB / 0.5647 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.1671, allocations: 81.06 kB / 0.5648 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1671, allocations: 12 kB / 0.5648 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1672, allocations: 7.984 kB / 0.5648 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.1673, allocations: 11.92 kB / 0.5648 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1673, allocations: 11.94 kB / 0.5648 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.1673, allocations: 91.7 kB / 0.5649 GB, free: 12.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1673, allocations: 0 / 0.5649 GB, free: 12.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1676, allocations: 27.89 kB / 0.5649 GB, free: 12.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009054/0.1685, allocations: 0.7648 MB / 0.5657 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.1691, allocations: 210.5 kB / 0.5659 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1691, allocations: 0 / 0.5659 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.1694, allocations: 158.6 kB / 0.566 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1698, allocations: 20.09 kB / 0.5661 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1722, allocations: 1.597 MB / 0.5676 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1726, allocations: 0.7026 MB / 0.5683 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.1726, allocations: 3.75 kB / 0.5683 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.1727, allocations: 31.66 kB / 0.5683 GB, free: 8.41 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1727, allocations: 0 / 0.5683 GB, free: 8.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.1965, allocations: 2.44 MB / 0.5707 GB, free: 6.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.41, allocations: 2.031 kB / 0.5707 GB, free: 6.113 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.534913639014121] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.553217821987346 10.568517815 10.409157367 Calling exit ...