Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001811/0.001811, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.404/1.404, allocations: 222.9 MB / 242.9 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.2117/0.2117, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 64.95 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003943/0.1342, allocations: 1.704 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.1345, allocations: 83.72 kB / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1346, allocations: 0 / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.419e-05/0.1346, allocations: 15.86 kB / 471.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.834e-05/0.1348, allocations: 19.78 kB / 471.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.1349, allocations: 31.89 kB / 471.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1351, allocations: 111.6 kB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1353, allocations: 55.94 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.1354, allocations: 39.86 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.1355, allocations: 55.77 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1356, allocations: 15.98 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.1356, allocations: 8 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.1357, allocations: 23.92 kB / 472.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.1357, allocations: 47.8 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.136, allocations: 119.9 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.136, allocations: 0 / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.136, allocations: 0 / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.136, allocations: 0 / 472.2 MB, free: 12.04 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008445/0.1368, allocations: 419.1 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1369, allocations: 11.97 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.137, allocations: 8.844 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1372, allocations: 180.2 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1372, allocations: 8.375 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1372, allocations: 8.375 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.1377, allocations: 133.8 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1378, allocations: 192 / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1378, allocations: 7.938 kB / 473 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1378, allocations: 4 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.1384, allocations: 107.8 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1395, allocations: 479.3 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1398, allocations: 82.53 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.1402, allocations: 64.88 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1402, allocations: 8 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1402, allocations: 34.55 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.1402, allocations: 0 / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001181/0.1414, allocations: 275.3 kB / 474 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1415, allocations: 55.34 kB / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1416, allocations: 121.8 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1417, allocations: 25.7 kB / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.1418, allocations: 108.1 kB / 474.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1418, allocations: 11.81 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.1419, allocations: 25.7 kB / 474.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.142, allocations: 318.8 kB / 474.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1423, allocations: 39.89 kB / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1426, allocations: 58.53 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.1431, allocations: 98.45 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1431, allocations: 3.938 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006455/0.1437, allocations: 150.3 kB / 475 MB, free: 8.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1438, allocations: 4 kB / 475 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1438, allocations: 0 / 475 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.144, allocations: 24.84 kB / 475.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1442, allocations: 15.98 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.1457, allocations: 1.406 MB / 476.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1459, allocations: 16.08 kB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1459, allocations: 4 kB / 476.5 MB, free: 7.355 MB / 350.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.0001341/0.146, allocations: 121.8 kB / 476.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.1461, allocations: 11.84 kB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.1461, allocations: 12.36 kB / 476.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1462, allocations: 0 / 476.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1462, allocations: 4.312 kB / 476.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1462, allocations: 0 / 476.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.1472, allocations: 428.1 kB / 477.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1472, allocations: 0 / 477.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1473, allocations: 11.98 kB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.1475, allocations: 28.88 kB / 477.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1475, allocations: 0 / 477.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1488, allocations: 1.406 MB / 478.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1488, allocations: 4.188 kB / 478.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.1495, allocations: 245 kB / 478.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.1496, allocations: 84.95 kB / 478.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1496, allocations: 8 kB / 478.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1498, allocations: 7.984 kB / 478.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.1499, allocations: 7.984 kB / 478.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1499, allocations: 8 kB / 478.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.15, allocations: 91.27 kB / 479 MB, free: 4.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.15, allocations: 4 kB / 479 MB, free: 4.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.1505, allocations: 23.94 kB / 479 MB, free: 4.613 MB / 350.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.0001425/0.1507, allocations: 99.19 kB / 479.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.1514, allocations: 210.5 kB / 479.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1514, allocations: 4.125 kB / 479.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.1518, allocations: 162.8 kB / 479.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.1523, allocations: 12.06 kB / 479.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.153, allocations: 246.8 kB / 479.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1533, allocations: 0.6963 MB / 480.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1534, allocations: 19.42 kB / 480.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1534, allocations: 4 kB / 480.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.004295/0.1577, allocations: 1.589 MB / 482 MB, free: 1.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches