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.001516/0.001516, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.001899/0.001899, allocations: 191.9 kB / 18.56 MB, free: 4.613 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2042/0.2042, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 60.34 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1241, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006213/0.1304, allocations: 2.463 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1328, allocations: 1.032 MB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.133, allocations: 8 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.1347, allocations: 0.4979 MB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.1351, allocations: 115.2 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.1368, allocations: 0.6263 MB / 474.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.1372, allocations: 219.1 kB / 474.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.1379, allocations: 247.8 kB / 474.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.1381, allocations: 103.6 kB / 474.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1384, allocations: 119.5 kB / 474.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.1384, allocations: 24 kB / 474.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.1389, allocations: 147.9 kB / 474.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.1389, allocations: 55.77 kB / 475 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1391, allocations: 111.5 kB / 475.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.1398, allocations: 398.7 kB / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1398, allocations: 0 / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1398, allocations: 0 / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1398, allocations: 0 / 475.5 MB, free: 8.117 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.00187/0.1417, allocations: 0.6154 MB / 476.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1418, allocations: 12.02 kB / 476.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.591e-05/0.1419, allocations: 58.73 kB / 476.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.1424, allocations: 52.62 kB / 476.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1426, allocations: 196 kB / 476.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.1427, allocations: 16.94 kB / 476.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.1428, allocations: 28.31 kB / 476.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/0.1436, allocations: 295.5 kB / 476.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1437, allocations: 0 / 476.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.1437, allocations: 12 kB / 476.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1437, allocations: 4 kB / 476.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/0.1446, allocations: 233.5 kB / 477 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.1468, allocations: 1.009 MB / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.1475, allocations: 370.4 kB / 478.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.148, allocations: 145.6 kB / 478.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.1482, allocations: 85.09 kB / 478.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1482, allocations: 34.56 kB / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.1483, allocations: 0 / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001691/0.15, allocations: 0.4998 MB / 479.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.15, allocations: 85.17 kB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1502, allocations: 141.8 kB / 479.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1502, allocations: 25.7 kB / 479.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1504, allocations: 140.1 kB / 479.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.1505, allocations: 74.92 kB / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1506, allocations: 41.7 kB / 479.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1508, allocations: 322.8 kB / 479.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.1511, allocations: 71.95 kB / 480 MB, free: 3.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.1515, allocations: 123.6 kB / 480.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.1521, allocations: 204.8 kB / 480.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1521, allocations: 4 kB / 480.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009627/0.1531, allocations: 278.8 kB / 480.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1532, allocations: 8 kB / 480.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1532, allocations: 8.172 kB / 480.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.1535, allocations: 53.69 kB / 480.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1538, allocations: 39.97 kB / 480.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.1567, allocations: 2.832 MB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.1569, allocations: 27.86 kB / 483.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1569, allocations: 11.94 kB / 483.6 MB, free: 15.32 MB / 366.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.0001702/0.1571, allocations: 141.8 kB / 483.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1572, allocations: 15.91 kB / 483.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000899/0.1581, allocations: 274 kB / 484 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1582, allocations: 4 kB / 484 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1582, allocations: 0 / 484 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1582, allocations: 0 / 484 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.1598, allocations: 0.6497 MB / 484.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.1598, allocations: 8 kB / 484.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.1601, allocations: 39.91 kB / 484.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.1603, allocations: 45.78 kB / 484.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.1603, allocations: 12.05 kB / 484.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.1631, allocations: 2.836 MB / 487.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1631, allocations: 4.031 kB / 487.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1644, allocations: 0.5136 MB / 488.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.1645, allocations: 88.95 kB / 488.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1645, allocations: 8 kB / 488.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1649, allocations: 15.92 kB / 488.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.165, allocations: 24.03 kB / 488.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.165, allocations: 8 kB / 488.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.859e-05/0.1651, allocations: 106.1 kB / 488.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1651, allocations: 0 / 488.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007736/0.1659, allocations: 71.78 kB / 488.4 MB, free: 10.05 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.001889/0.1678, allocations: 1.082 MB / 489.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.1689, allocations: 427 kB / 489.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1689, allocations: 0 / 489.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.1696, allocations: 325.3 kB / 490.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.1703, allocations: 12 kB / 490.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.1751, allocations: 2.352 MB / 492.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.1756, allocations: 0.7321 MB / 493.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.1758, allocations: 17.42 kB / 493.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1759, allocations: 67.34 kB / 493.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.176, allocations: 4 kB / 493.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.2087, allocations: 4.253 MB / 497.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.385/9.594, allocations: 15.45 kB / 497.7 MB, free: 0.6719 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