Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 205.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000246/0.0002461, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 63.45 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00307/0.1441, allocations: 1.992 MB / 483.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.146, allocations: 0.9898 MB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1461, allocations: 4 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.1465, allocations: 83.59 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.1469, allocations: 91.7 kB / 484.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.1479, allocations: 394.8 kB / 484.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1482, allocations: 155.7 kB / 485.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009981/0.1492, allocations: 465.7 kB / 485.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.1495, allocations: 83.64 kB / 485.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1496, allocations: 95.61 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1497, allocations: 12 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.1501, allocations: 127.8 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.1501, allocations: 27.92 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.1502, allocations: 61.58 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.1508, allocations: 299.4 kB / 486.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1508, allocations: 0 / 486.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1508, allocations: 0 / 486.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1508, allocations: 0 / 486.2 MB, free: 0.5312 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.001579/0.1524, allocations: 0.5851 MB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.1525, allocations: 8.031 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.1528, allocations: 55.67 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1531, allocations: 194.7 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.1532, allocations: 16.56 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.1533, allocations: 24 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.154, allocations: 299.4 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1541, allocations: 0 / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.1541, allocations: 8 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1541, allocations: 11.94 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.1547, allocations: 249.5 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1564, allocations: 1.013 MB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.1569, allocations: 379.3 kB / 489 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.1572, allocations: 166.3 kB / 489.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1572, allocations: 42.5 kB / 489.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/0.1572, allocations: 0 / 489.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001282/0.1585, allocations: 0.5347 MB / 489.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.1586, allocations: 81.11 kB / 489.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1587, allocations: 140.8 kB / 490 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1588, allocations: 33.7 kB / 490 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1589, allocations: 144.1 kB / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.159, allocations: 70.98 kB / 490.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.159, allocations: 4 kB / 490.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1592, allocations: 322.8 kB / 490.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1595, allocations: 87.89 kB / 490.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.1598, allocations: 124.1 kB / 490.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.16, allocations: 95.95 kB / 490.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.16, allocations: 0 / 490.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006941/0.1607, allocations: 302.9 kB / 491.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.1608, allocations: 6.812 kB / 491.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1608, allocations: 4 kB / 491.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.1611, allocations: 53.61 kB / 491.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.1613, allocations: 52.03 kB / 491.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.1634, allocations: 2.659 MB / 493.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.1636, allocations: 31.86 kB / 494 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.1636, allocations: 11.95 kB / 494 MB, free: 8.113 MB / 366.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.0001693/0.1638, allocations: 142 kB / 494.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.1638, allocations: 19.75 kB / 494.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.1645, allocations: 292.4 kB / 494.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1645, allocations: 4 kB / 494.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.1645, allocations: 0 / 494.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1645, allocations: 4 kB / 494.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1656, allocations: 0.656 MB / 495.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1656, allocations: 4 kB / 495.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.1658, allocations: 39.91 kB / 495.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.166, allocations: 53.69 kB / 495.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.166, allocations: 4 kB / 495.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.1678, allocations: 2.658 MB / 497.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1678, allocations: 4 kB / 497.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.1688, allocations: 0.5604 MB / 498.4 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.1688, allocations: 89 kB / 498.5 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1689, allocations: 4 kB / 498.5 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.169, allocations: 24.05 kB / 498.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.1691, allocations: 19.97 kB / 498.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1692, allocations: 4 kB / 498.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.1693, allocations: 109.7 kB / 498.6 MB, free: 3.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1693, allocations: 0 / 498.6 MB, free: 3.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005009/0.1698, allocations: 79.69 kB / 498.7 MB, free: 2.957 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.0003153/0.1701, allocations: 127.2 kB / 498.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008072/0.1709, allocations: 437.1 kB / 499.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1709, allocations: 4.25 kB / 499.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.1713, allocations: 337.3 kB / 499.6 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1716, allocations: 10.06 kB / 499.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.1725, allocations: 0.5618 MB / 0.4885 GB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1728, allocations: 0.7438 MB / 0.4892 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.1729, allocations: 17.42 kB / 0.4892 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.173, allocations: 15.44 kB / 0.4892 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.173, allocations: 0 / 0.4892 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of Templates: time 0.005725/0.1787, allocations: 2.126 MB / 0.4913 GB, free: 14.47 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches