Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.78 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.005232/0.1303, allocations: 2.509 MB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1326, allocations: 1.036 MB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.1329, allocations: 4 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.1343, allocations: 486 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1347, allocations: 83.5 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.136, allocations: 0.615 MB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.1365, allocations: 207.1 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.137, allocations: 230.9 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1372, allocations: 95.62 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1374, allocations: 123.5 kB / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.1375, allocations: 20 kB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.1378, allocations: 143.8 kB / 474.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.1379, allocations: 43.84 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.138, allocations: 103.5 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.1386, allocations: 399 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1387, allocations: 0 / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1387, allocations: 0 / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1387, allocations: 0 / 474.7 MB, free: 8.66 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00147/0.1402, allocations: 0.6126 MB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1402, allocations: 8.031 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.669e-05/0.1403, allocations: 62.72 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.1407, allocations: 52.62 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1408, allocations: 192 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.1409, allocations: 20.94 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1409, allocations: 24.38 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.1415, allocations: 287.6 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1416, allocations: 11.92 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1416, allocations: 11.94 kB / 475.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1416, allocations: 4 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.1423, allocations: 233.5 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1439, allocations: 1.009 MB / 477.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.1444, allocations: 371.2 kB / 477.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.1448, allocations: 137.7 kB / 477.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1449, allocations: 85.11 kB / 477.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1449, allocations: 30.56 kB / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.1449, allocations: 0 / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001163/0.1461, allocations: 0.5072 MB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.1462, allocations: 77.11 kB / 478.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1463, allocations: 141.8 kB / 478.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1463, allocations: 29.7 kB / 478.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.1464, allocations: 140.1 kB / 478.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1465, allocations: 70.98 kB / 478.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.1466, allocations: 41.7 kB / 478.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1467, allocations: 322.9 kB / 479.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1469, allocations: 71.95 kB / 479.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1472, allocations: 121.9 kB / 479.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1476, allocations: 208.5 kB / 479.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1476, allocations: 0 / 479.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006211/0.1482, allocations: 279 kB / 479.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1483, allocations: 14.06 kB / 479.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1483, allocations: 0 / 479.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.1485, allocations: 49.69 kB / 479.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1487, allocations: 43.91 kB / 479.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.1507, allocations: 2.635 MB / 482.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1508, allocations: 31.98 kB / 482.5 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.1509, allocations: 7.984 kB / 482.6 MB, free: 84 kB / 350.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.0001578/0.151, allocations: 137.9 kB / 482.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.1511, allocations: 27.84 kB / 482.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006258/0.1517, allocations: 260.2 kB / 483 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1517, allocations: 0 / 483 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1518, allocations: 7.938 kB / 483 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1518, allocations: 0 / 483 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1529, allocations: 0.6497 MB / 483.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1529, allocations: 0 / 483.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1531, allocations: 35.91 kB / 483.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.1533, allocations: 57.69 kB / 483.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1533, allocations: 4 kB / 483.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.1551, allocations: 2.639 MB / 486.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1552, allocations: 0 / 486.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.1561, allocations: 0.5206 MB / 486.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1562, allocations: 92.95 kB / 487 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1562, allocations: 7.984 kB / 487 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1564, allocations: 19.92 kB / 487 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.1565, allocations: 19.97 kB / 487 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1565, allocations: 4 kB / 487 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.429e-05/0.1566, allocations: 105.3 kB / 487.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1566, allocations: 4 kB / 487.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.157, allocations: 75.84 kB / 487.2 MB, free: 11.03 MB / 366.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.00136/0.1584, allocations: 1.081 MB / 488.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.1592, allocations: 409.2 kB / 488.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1592, allocations: 384 / 488.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.1597, allocations: 333.2 kB / 489 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1601, allocations: 21.23 kB / 489 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.1637, allocations: 2.43 MB / 491.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.164, allocations: 0.7361 MB / 492.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.532e-05/0.1641, allocations: 17.41 kB / 492.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.1642, allocations: 55.42 kB / 492.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1643, allocations: 0 / 492.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.1809, allocations: 3.973 MB / 496.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.1811, allocations: 242.6 kB / 496.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.157, allocations: 3.938 kB / 496.5 MB, free: 1.652 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches