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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001393/0.001394, allocations: 192 kB / 18.55 MB, free: 4.566 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.315/1.315, allocations: 222.9 MB / 242.2 MB, free: 15.19 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.1978/0.1978, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 68.02 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 60.83 MB / 469.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004887/0.136, allocations: 2.458 MB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1382, allocations: 1.032 MB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.1385, allocations: 8 kB / 472.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.1399, allocations: 0.5054 MB / 473.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.1404, allocations: 107.2 kB / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1418, allocations: 0.6301 MB / 474 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.1423, allocations: 215.1 kB / 474.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.1429, allocations: 255.5 kB / 474.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.1432, allocations: 99.64 kB / 474.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.1434, allocations: 127.5 kB / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.1435, allocations: 24 kB / 474.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.1439, allocations: 139.9 kB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.144, allocations: 51.83 kB / 474.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1442, allocations: 111.4 kB / 475 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.1449, allocations: 403 kB / 475.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1449, allocations: 0 / 475.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1449, allocations: 0 / 475.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1449, allocations: 0 / 475.4 MB, free: 8.238 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.00132/0.1462, allocations: 0.6164 MB / 476 MB, free: 7.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1463, allocations: 12.03 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.1466, allocations: 48.62 kB / 476.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1468, allocations: 199.9 kB / 476.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1468, allocations: 16.94 kB / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1469, allocations: 24.38 kB / 476.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.1475, allocations: 291.8 kB / 476.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1475, allocations: 3.984 kB / 476.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.1475, allocations: 8 kB / 476.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1475, allocations: 11.94 kB / 476.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.1481, allocations: 233.5 kB / 476.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.1495, allocations: 1.001 MB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.1501, allocations: 379.2 kB / 478.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.1504, allocations: 137.7 kB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.1505, allocations: 81.11 kB / 478.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1505, allocations: 38.5 kB / 478.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.1505, allocations: 0 / 478.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001191/0.1517, allocations: 0.4999 MB / 479 MB, free: 4.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1518, allocations: 81.11 kB / 479 MB, free: 4.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1519, allocations: 139.2 kB / 479.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.152, allocations: 33.7 kB / 479.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.152, allocations: 136.1 kB / 479.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.1521, allocations: 74.98 kB / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1522, allocations: 37.7 kB / 479.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1523, allocations: 326.9 kB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1525, allocations: 71.89 kB / 479.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1527, allocations: 121.6 kB / 480 MB, free: 3.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.1532, allocations: 209.8 kB / 480.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1532, allocations: 4 kB / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005937/0.1538, allocations: 279 kB / 480.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1538, allocations: 4 kB / 480.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1538, allocations: 4 kB / 480.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.154, allocations: 53.61 kB / 480.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1542, allocations: 39.97 kB / 480.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.1563, allocations: 2.844 MB / 483.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1565, allocations: 31.92 kB / 483.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1565, allocations: 4 kB / 483.4 MB, free: 15.5 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.0001308/0.1566, allocations: 141.7 kB / 483.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.1567, allocations: 15.81 kB / 483.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006059/0.1573, allocations: 271.2 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1573, allocations: 0 / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1573, allocations: 4.109 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1573, allocations: 3.938 kB / 483.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1584, allocations: 0.6526 MB / 484.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1584, allocations: 3.938 kB / 484.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1586, allocations: 35.97 kB / 484.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.1587, allocations: 53.7 kB / 484.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1587, allocations: 7.938 kB / 484.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1606, allocations: 2.844 MB / 487.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1606, allocations: 0 / 487.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.1615, allocations: 0.5174 MB / 488 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1616, allocations: 92.91 kB / 488 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1616, allocations: 4 kB / 488 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1618, allocations: 20.05 kB / 488.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.1619, allocations: 27.91 kB / 488.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1619, allocations: 4 kB / 488.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.162, allocations: 103.3 kB / 488.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.162, allocations: 0 / 488.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1624, allocations: 71.78 kB / 488.3 MB, free: 10.23 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.0002317/0.1627, allocations: 123.2 kB / 488.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007902/0.1635, allocations: 425.5 kB / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1635, allocations: 0 / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.1639, allocations: 321.3 kB / 489.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1643, allocations: 20 kB / 489.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.1651, allocations: 480.9 kB / 489.6 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1655, allocations: 0.74 MB / 490.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.318e-05/0.1656, allocations: 13.44 kB / 490.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1656, allocations: 15.44 kB / 490.4 MB, free: 8 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1656, allocations: 0 / 490.4 MB, free: 8 MB / 366.1 MB Notification: Performance of Templates: time 0.005549/0.1712, allocations: 2.305 MB / 492.7 MB, free: 5.695 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/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