Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.001842/0.001842, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002384/0.002384, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2375/0.2375, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.91 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1461, allocations: 65.99 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004239/0.1504, allocations: 2.496 MB / 0.5585 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1523, allocations: 1.11 MB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.1524, allocations: 8 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.1537, allocations: 0.5018 MB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.154, allocations: 107.2 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.1549, allocations: 482.1 kB / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.1552, allocations: 234.9 kB / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.1556, allocations: 202.3 kB / 0.561 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1558, allocations: 99.64 kB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.156, allocations: 131.5 kB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.156, allocations: 24 kB / 0.5613 GB, free: 436 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.1564, allocations: 151.9 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.1564, allocations: 59.7 kB / 0.5615 GB, free: 224 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1565, allocations: 111.5 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.1571, allocations: 402.5 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1571, allocations: 0 / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1571, allocations: 4 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1571, allocations: 0 / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001432/0.1585, allocations: 0.6198 MB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1586, allocations: 8.031 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.1586, allocations: 12.69 kB / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.1587, allocations: 66.72 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.159, allocations: 48.77 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1592, allocations: 192 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1592, allocations: 16.94 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.1593, allocations: 24.38 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.1599, allocations: 291.4 kB / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1599, allocations: 0 / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.1599, allocations: 16 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.16, allocations: 15.92 kB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.1606, allocations: 221.6 kB / 0.5635 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.1622, allocations: 1.005 MB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.1627, allocations: 351.3 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.1631, allocations: 133.6 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.1633, allocations: 166.2 kB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1634, allocations: 34.56 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.1634, allocations: 0 / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001353/0.1647, allocations: 0.4917 MB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.1648, allocations: 89.17 kB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1649, allocations: 137.8 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.165, allocations: 37.69 kB / 0.5658 GB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1651, allocations: 144.3 kB / 0.566 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.1651, allocations: 71.44 kB / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.1652, allocations: 41.64 kB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1654, allocations: 326.8 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.1656, allocations: 71.95 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.1659, allocations: 121.9 kB / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.1664, allocations: 212.3 kB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1664, allocations: 0 / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007519/0.1671, allocations: 278.9 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1672, allocations: 6.188 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1672, allocations: 4 kB / 0.5671 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.1675, allocations: 49.89 kB / 0.5671 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.1678, allocations: 43.89 kB / 0.5671 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.1705, allocations: 2.833 MB / 0.5699 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.1707, allocations: 35.8 kB / 0.5699 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1707, allocations: 4 kB / 0.5699 GB, free: 6.828 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.1709, allocations: 140 kB / 0.5701 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.1709, allocations: 16.14 kB / 0.5701 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/0.1717, allocations: 276.2 kB / 0.5704 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1717, allocations: 0 / 0.5704 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1717, allocations: 4 kB / 0.5704 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1717, allocations: 4 kB / 0.5704 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.173, allocations: 0.6461 MB / 0.571 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.173, allocations: 0 / 0.571 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1732, allocations: 43.97 kB / 0.571 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.1733, allocations: 53.69 kB / 0.5711 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1733, allocations: 0 / 0.5711 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.1758, allocations: 2.844 MB / 0.5739 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1758, allocations: 0 / 0.5739 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1768, allocations: 0.5193 MB / 0.5744 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.1769, allocations: 85.09 kB / 0.5745 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1769, allocations: 4 kB / 0.5745 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1771, allocations: 23.91 kB / 0.5745 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.1772, allocations: 20.05 kB / 0.5745 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1772, allocations: 4 kB / 0.5745 GB, free: 1.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.702e-05/0.1773, allocations: 117.4 kB / 0.5746 GB, free: 1.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1773, allocations: 0 / 0.5746 GB, free: 1.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.1778, allocations: 79.78 kB / 0.5747 GB, free: 1.543 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * 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): 2 systems {(1,2,100.0%), (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.00148/0.1792, allocations: 1.078 MB / 0.5757 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009285/0.1802, allocations: 409.2 kB / 0.5761 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.1802, allocations: 4 kB / 0.5761 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.1807, allocations: 325.7 kB / 0.5765 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.1811, allocations: 22.38 kB / 0.5765 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.1849, allocations: 2.358 MB / 0.5788 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1852, allocations: 0.7361 MB / 0.5795 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.1853, allocations: 17.42 kB / 0.5795 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1854, allocations: 59.41 kB / 0.5796 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1854, allocations: 0 / 0.5796 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.2147, allocations: 4.502 MB / 0.584 GB, free: 7.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.73, allocations: 10.78 kB / 0.584 GB, free: 7.984 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.262009909027256]