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.001517/0.001517, allocations: 91.12 kB / 16.99 MB, free: 5.941 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.002233/0.002234, allocations: 181.9 kB / 17.87 MB, free: 5.609 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.498/1.498, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003238, allocations: 11.98 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 61.92 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001819/0.1483, allocations: 1.372 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.1485, allocations: 91.69 kB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.1485, allocations: 4 kB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.1486, allocations: 7.922 kB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.1487, allocations: 27.94 kB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.105e-05/0.1487, allocations: 11.98 kB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1489, allocations: 75.84 kB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.149, allocations: 31.83 kB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.1491, allocations: 39.86 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.1491, allocations: 39.84 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1492, allocations: 8 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.1492, allocations: 4 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.1492, allocations: 23.91 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1493, allocations: 37.7 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1494, allocations: 83.97 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1494, allocations: 0 / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1494, allocations: 0 / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1494, allocations: 4 kB / 473.3 MB, free: 11.89 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.0005642/0.15, allocations: 411 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.15, allocations: 11.97 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1501, allocations: 11.91 kB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1502, allocations: 174.9 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1502, allocations: 12 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1503, allocations: 11.95 kB / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1506, allocations: 133.5 kB / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1506, allocations: 0 / 474 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1507, allocations: 4 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1507, allocations: 4 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.151, allocations: 131.8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.1517, allocations: 479.3 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.152, allocations: 94.47 kB / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.152, allocations: 0 / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1521, allocations: 46.64 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1521, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008272/0.1529, allocations: 295.5 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.153, allocations: 59.41 kB / 475.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.1531, allocations: 125.8 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1531, allocations: 33.64 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.1532, allocations: 104.1 kB / 475.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1532, allocations: 19.72 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1532, allocations: 0 / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1533, allocations: 318.8 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.1535, allocations: 51.97 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1537, allocations: 57.67 kB / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1538, allocations: 60.03 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1539, allocations: 0 / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004167/0.1543, allocations: 166.4 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1543, allocations: 7.984 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1543, allocations: 4.031 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.1545, allocations: 20.86 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1546, allocations: 27.91 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.1557, allocations: 1.316 MB / 477.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-05/0.1558, allocations: 27.8 kB / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1558, allocations: 0 / 477.5 MB, free: 7.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1559, allocations: 125.5 kB / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.156, allocations: 4 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.156, allocations: 16.38 kB / 477.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.156, allocations: 0 / 477.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.156, allocations: 3.984 kB / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.156, allocations: 0 / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1562, allocations: 197.6 kB / 477.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1562, allocations: 4 kB / 477.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1564, allocations: 19.98 kB / 477.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.26e-05/0.1564, allocations: 24.84 kB / 477.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1564, allocations: 0 / 477.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008967/0.1573, allocations: 1.324 MB / 479.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1574, allocations: 0 / 479.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.1578, allocations: 260.2 kB / 479.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1579, allocations: 81.02 kB / 479.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1579, allocations: 7.984 kB / 479.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.158, allocations: 23.98 kB / 479.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.1581, allocations: 3.984 kB / 479.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1581, allocations: 7.953 kB / 479.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.1582, allocations: 91.27 kB / 479.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1582, allocations: 0 / 479.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1584, allocations: 24 kB / 479.7 MB, free: 4.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.1585, allocations: 91.25 kB / 479.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.1591, allocations: 234.6 kB / 480 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1591, allocations: 0 / 480 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1593, allocations: 182.5 kB / 480.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1596, allocations: 0 / 480.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.16, allocations: 258 kB / 480.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1603, allocations: 0.7043 MB / 481.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.1603, allocations: 4.188 kB / 481.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.1603, allocations: 7.438 kB / 481.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1603, allocations: 0 / 481.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Templates: time 0.003204/0.1636, allocations: 0.9287 MB / 482 MB, free: 2.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches