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.001186/0.001186, allocations: 92.89 kB / 16.98 MB, free: 5.938 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.001421/0.001421, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.42/1.42, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2202/0.2202, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 8.688 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003043/0.1413, allocations: 1.98 MB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1428, allocations: 0.9276 MB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.1429, allocations: 8 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1432, allocations: 91.45 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1435, allocations: 87.75 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.1444, allocations: 0.5139 MB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1447, allocations: 151.7 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008959/0.1456, allocations: 450.2 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1457, allocations: 83.7 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1459, allocations: 99.59 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1459, allocations: 15.94 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.1462, allocations: 111.9 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.1463, allocations: 35.89 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.1463, allocations: 61.58 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1467, allocations: 291.4 kB / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1467, allocations: 0 / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1467, allocations: 0 / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1467, allocations: 0 / 476.3 MB, free: 8.809 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.001337/0.1481, allocations: 0.5928 MB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1481, allocations: 8.031 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.1484, allocations: 47.69 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1487, allocations: 190.8 kB / 477.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.1487, allocations: 20.56 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1488, allocations: 27.95 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.1494, allocations: 291.4 kB / 477.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1494, allocations: 7.938 kB / 477.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.1495, allocations: 15.94 kB / 477.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1495, allocations: 7.984 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.1501, allocations: 253.5 kB / 477.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1518, allocations: 1.013 MB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1523, allocations: 391.3 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1525, allocations: 85.06 kB / 479.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1525, allocations: 38.5 kB / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1525, allocations: 4 kB / 479.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001193/0.1537, allocations: 0.5348 MB / 479.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1538, allocations: 77.11 kB / 479.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1539, allocations: 140 kB / 480 MB, free: 4.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1539, allocations: 33.7 kB / 480.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.154, allocations: 136.1 kB / 480.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.1541, allocations: 71 kB / 480.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-06/0.1541, allocations: 3.938 kB / 480.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1542, allocations: 330.8 kB / 480.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1545, allocations: 83.98 kB / 480.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.1547, allocations: 120.2 kB / 480.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.155, allocations: 95.97 kB / 480.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.155, allocations: 0 / 480.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006039/0.1556, allocations: 301 kB / 481.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1556, allocations: 4 kB / 481.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1556, allocations: 0 / 481.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.1559, allocations: 61.75 kB / 481.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.1561, allocations: 43.97 kB / 481.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.1581, allocations: 2.647 MB / 483.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1582, allocations: 36.09 kB / 484 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1583, allocations: 11.94 kB / 484 MB, free: 0.4922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.1584, allocations: 141.8 kB / 484.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.1585, allocations: 15.77 kB / 484.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.1591, allocations: 296.5 kB / 484.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1591, allocations: 4 kB / 484.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1592, allocations: 0 / 484.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1592, allocations: 3.953 kB / 484.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1602, allocations: 0.6579 MB / 485.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1603, allocations: 4 kB / 485.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1604, allocations: 47.91 kB / 485.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.1606, allocations: 53.86 kB / 485.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1606, allocations: 4 kB / 485.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.1623, allocations: 2.651 MB / 487.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1623, allocations: 0 / 487.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.1632, allocations: 0.5643 MB / 488.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1633, allocations: 96.91 kB / 488.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1633, allocations: 8 kB / 488.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1635, allocations: 19.98 kB / 488.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1636, allocations: 15.97 kB / 488.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1636, allocations: 8 kB / 488.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.579e-05/0.1637, allocations: 105.1 kB / 488.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1637, allocations: 4.062 kB / 488.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.1641, allocations: 71.75 kB / 488.7 MB, free: 11.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/0.1644, allocations: 123.1 kB / 488.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007198/0.1651, allocations: 443.6 kB / 489.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1651, allocations: 0 / 489.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.1655, allocations: 341.3 kB / 489.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1657, allocations: 11.95 kB / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.1666, allocations: 0.5591 MB / 490.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.167, allocations: 0.7438 MB / 490.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.1671, allocations: 17.42 kB / 491 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.1671, allocations: 15.44 kB / 491 MB, free: 8.996 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1671, allocations: 0 / 491 MB, free: 8.996 MB / 366.1 MB Notification: Performance of Templates: time 0.00513/0.1723, allocations: 2.083 MB / 493.1 MB, free: 6.914 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches