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.001013/0.001013, allocations: 98.59 kB / 17 MB, free: 6.414 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.001036/0.001037, allocations: 188.3 kB / 17.89 MB, free: 5.945 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.52/1.52, allocations: 223.2 MB / 241.9 MB, free: 352 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.2323/0.2323, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 15.94 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003442/0.1394, allocations: 2.049 MB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1414, allocations: 0.9351 MB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1416, allocations: 4 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.142, allocations: 91.59 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.1425, allocations: 83.52 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1438, allocations: 0.4985 MB / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1442, allocations: 203 kB / 475.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1453, allocations: 486 kB / 475.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.1456, allocations: 83.7 kB / 476 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1458, allocations: 99.55 kB / 476.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.1458, allocations: 12 kB / 476.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.1463, allocations: 131.8 kB / 476.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.1463, allocations: 31.86 kB / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.1464, allocations: 65.58 kB / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.147, allocations: 299.4 kB / 476.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.147, allocations: 0 / 476.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.147, allocations: 0 / 476.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.147, allocations: 0 / 476.6 MB, free: 8.594 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.001565/0.1486, allocations: 0.5889 MB / 477.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.1487, allocations: 8.031 kB / 477.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.149, allocations: 51.69 kB / 477.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1492, allocations: 182.8 kB / 477.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1492, allocations: 20.56 kB / 477.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.1493, allocations: 27.95 kB / 477.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.1499, allocations: 299.4 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.15, allocations: 3.984 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.15, allocations: 12 kB / 477.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.15, allocations: 4 kB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.1506, allocations: 245.6 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.1522, allocations: 1.017 MB / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1527, allocations: 383.2 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.153, allocations: 141.7 kB / 479.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1531, allocations: 93.09 kB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1532, allocations: 30.56 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.1532, allocations: 0 / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001173/0.1544, allocations: 0.5326 MB / 480.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1544, allocations: 77.11 kB / 480.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1546, allocations: 147.8 kB / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1546, allocations: 29.81 kB / 480.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.1547, allocations: 148.1 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.1548, allocations: 67 kB / 480.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.1548, allocations: 4 kB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1549, allocations: 322.8 kB / 481 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1551, allocations: 79.95 kB / 481.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.1553, allocations: 133.9 kB / 481.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1556, allocations: 91.97 kB / 481.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1556, allocations: 0 / 481.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006186/0.1562, allocations: 306.8 kB / 481.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1563, allocations: 4 kB / 481.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1563, allocations: 4 kB / 481.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.1565, allocations: 53.69 kB / 481.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.1567, allocations: 52.09 kB / 481.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.1588, allocations: 2.627 MB / 484.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.159, allocations: 35.84 kB / 484.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.159, allocations: 8 kB / 484.4 MB, free: 160 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001561/0.1591, allocations: 145.8 kB / 484.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.1592, allocations: 11.86 kB / 484.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.1599, allocations: 286.3 kB / 484.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1599, allocations: 4 kB / 484.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1599, allocations: 7.953 kB / 484.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.16, allocations: 3.984 kB / 484.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1612, allocations: 0.6641 MB / 485.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1612, allocations: 0 / 485.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1614, allocations: 47.97 kB / 485.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.1616, allocations: 49.69 kB / 485.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1616, allocations: 0 / 485.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.1636, allocations: 2.635 MB / 488.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.1636, allocations: 7.984 kB / 488.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.1645, allocations: 0.5511 MB / 488.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.1646, allocations: 96.88 kB / 488.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1647, allocations: 8 kB / 488.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1648, allocations: 15.98 kB / 488.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.1649, allocations: 23.91 kB / 488.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1649, allocations: 4 kB / 488.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.165, allocations: 113.4 kB / 489.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.165, allocations: 3.938 kB / 489.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000468/0.1655, allocations: 67.84 kB / 489.1 MB, free: 11.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0002307/0.1657, allocations: 121.9 kB / 489.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.1665, allocations: 441.3 kB / 489.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1665, allocations: 3.938 kB / 489.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.167, allocations: 337.4 kB / 490 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1674, allocations: 13.69 kB / 490 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.1683, allocations: 0.5715 MB / 490.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1687, allocations: 0.7321 MB / 491.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1688, allocations: 21.36 kB / 491.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1688, allocations: 11.44 kB / 491.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1688, allocations: 4 kB / 491.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of Templates: time 0.005566/0.1744, allocations: 2.056 MB / 493.4 MB, free: 6.617 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches