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.001567/0.001566, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001739/0.001739, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.428/1.428, allocations: 222.9 MB / 243 MB, free: 15.09 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.2732/0.2732, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 61.14 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003225/0.1498, allocations: 1.709 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.15, allocations: 83.73 kB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.15, allocations: 0 / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.1501, allocations: 15.86 kB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.1502, allocations: 19.78 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.1503, allocations: 27.97 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1504, allocations: 111.6 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1506, allocations: 58.86 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.1507, allocations: 47.86 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.1508, allocations: 55.77 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1508, allocations: 11.94 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.1509, allocations: 12 kB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.1509, allocations: 27.91 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.151, allocations: 43.8 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1511, allocations: 123.5 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1511, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1511, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1511, allocations: 0 / 473 MB, free: 11.3 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.0005788/0.1517, allocations: 419.1 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1518, allocations: 12.03 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1518, allocations: 8.844 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1519, allocations: 176.2 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.152, allocations: 8.375 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.152, allocations: 16.31 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1523, allocations: 131.8 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1523, allocations: 192 / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1523, allocations: 7.938 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1523, allocations: 4 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.1527, allocations: 103.8 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.1534, allocations: 475.3 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1536, allocations: 82.47 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1538, allocations: 68.94 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1538, allocations: 0 / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1539, allocations: 30.56 kB / 474.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.1539, allocations: 0 / 474.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000743/0.1546, allocations: 279.3 kB / 474.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1547, allocations: 55.34 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.1548, allocations: 121.8 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1548, allocations: 25.7 kB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.1549, allocations: 116.1 kB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.1549, allocations: 11.81 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1549, allocations: 21.7 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.155, allocations: 318.8 kB / 475.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1552, allocations: 39.95 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1553, allocations: 54.53 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1556, allocations: 94.45 kB / 475.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1556, allocations: 3.938 kB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003591/0.156, allocations: 150.3 kB / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.156, allocations: 11.94 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.156, allocations: 0 / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1562, allocations: 24.84 kB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1563, allocations: 19.92 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.1573, allocations: 1.407 MB / 477.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.1574, allocations: 20.02 kB / 477.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1575, allocations: 8 kB / 477.3 MB, free: 6.609 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 8.194e-05/0.1575, allocations: 113.8 kB / 477.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1576, allocations: 7.844 kB / 477.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.1576, allocations: 16.36 kB / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1576, allocations: 0 / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1576, allocations: 0 / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1576, allocations: 0 / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.1582, allocations: 424.1 kB / 477.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1582, allocations: 0 / 477.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.1583, allocations: 15.98 kB / 477.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.1584, allocations: 28.88 kB / 477.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1584, allocations: 0 / 477.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008582/0.1593, allocations: 1.402 MB / 479.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1593, allocations: 144 / 479.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.1596, allocations: 245 kB / 479.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.1597, allocations: 97 kB / 479.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1597, allocations: 4.125 kB / 479.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1598, allocations: 11.98 kB / 479.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.1599, allocations: 11.98 kB / 479.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.1599, allocations: 0 / 479.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.1599, allocations: 95.27 kB / 479.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1599, allocations: 0 / 479.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1602, allocations: 27.94 kB / 479.8 MB, free: 3.875 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 9.94e-05/0.1603, allocations: 103.9 kB / 479.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.1608, allocations: 206.5 kB / 480.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1608, allocations: 0 / 480.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.161, allocations: 166.8 kB / 480.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1613, allocations: 8 kB / 480.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.1618, allocations: 216.2 kB / 480.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.162, allocations: 0.6963 MB / 481.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.37e-05/0.1621, allocations: 11.92 kB / 481.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.1621, allocations: 7.438 kB / 481.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1621, allocations: 0 / 481.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Templates: time 0.003501/0.1656, allocations: 1.101 MB / 482.3 MB, free: 1.285 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 -s cvode -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