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.001088/0.001088, allocations: 95.11 kB / 18 MB, free: 5.602 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.001485/0.001485, allocations: 180.9 kB / 18.91 MB, free: 4.734 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.388/1.388, allocations: 223.3 MB / 242.9 MB, free: 36 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.1996/0.1996, allocations: 44.24 MB / 338.3 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 11.94 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002846/0.1296, allocations: 2.13 MB / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1312, allocations: 1.02 MB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1314, allocations: 8 kB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1318, allocations: 107.6 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.1322, allocations: 79.52 kB / 476.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1333, allocations: 0.5917 MB / 476.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.1337, allocations: 215 kB / 477.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.1347, allocations: 0.511 MB / 477.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.1349, allocations: 87.64 kB / 477.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1351, allocations: 103.5 kB / 477.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.1351, allocations: 12 kB / 477.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.1354, allocations: 135.8 kB / 477.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.1355, allocations: 31.86 kB / 477.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1356, allocations: 129.2 kB / 478.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.136, allocations: 295.4 kB / 478.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.136, allocations: 0 / 478.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.136, allocations: 0 / 478.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.136, allocations: 0 / 478.3 MB, free: 7.852 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.001264/0.1373, allocations: 0.5891 MB / 478.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1373, allocations: 8.031 kB / 478.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.1377, allocations: 52.72 kB / 479 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1378, allocations: 192 kB / 479.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1379, allocations: 20.94 kB / 479.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.1379, allocations: 24.38 kB / 479.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.1385, allocations: 299.7 kB / 479.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1386, allocations: 7.906 kB / 479.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1386, allocations: 8 kB / 479.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1386, allocations: 8 kB / 479.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.1392, allocations: 257.5 kB / 479.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.1408, allocations: 0.9975 MB / 480.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.1413, allocations: 395.1 kB / 481.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1417, allocations: 144.4 kB / 481.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1418, allocations: 89.09 kB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1418, allocations: 34.5 kB / 481.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.1418, allocations: 0 / 481.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001233/0.1431, allocations: 0.5249 MB / 482 MB, free: 3.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1431, allocations: 85.09 kB / 482 MB, free: 3.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1432, allocations: 139.8 kB / 482.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1433, allocations: 33.64 kB / 482.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1433, allocations: 144 kB / 482.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.1434, allocations: 67.09 kB / 482.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1435, allocations: 25.64 kB / 482.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1436, allocations: 322.8 kB / 482.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.1438, allocations: 87.92 kB / 482.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1441, allocations: 130 kB / 483 MB, free: 2.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.1445, allocations: 229.8 kB / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1446, allocations: 0 / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006419/0.1452, allocations: 298.9 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1452, allocations: 4 kB / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1452, allocations: 192 / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.1455, allocations: 57.62 kB / 483.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1457, allocations: 47.97 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.1475, allocations: 2.65 MB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1477, allocations: 35.86 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1477, allocations: 8 kB / 486.3 MB, free: 15.21 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.1479, allocations: 137.8 kB / 486.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1479, allocations: 15.84 kB / 486.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.1486, allocations: 284.3 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1486, allocations: 0 / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1487, allocations: 7.984 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1487, allocations: 3.938 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1498, allocations: 0.6682 MB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1498, allocations: 3.984 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.15, allocations: 31.98 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.1501, allocations: 61.62 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1502, allocations: 0 / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.1518, allocations: 2.642 MB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1519, allocations: 4 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009193/0.1528, allocations: 0.5565 MB / 490.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1529, allocations: 92.89 kB / 490.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1529, allocations: 4 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1531, allocations: 27.98 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.1531, allocations: 19.97 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1532, allocations: 4 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.1532, allocations: 113.9 kB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1533, allocations: 0 / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.1537, allocations: 63.84 kB / 491 MB, free: 10.08 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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 0.0002199/0.1539, allocations: 135.2 kB / 491.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007468/0.1547, allocations: 433.1 kB / 491.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1547, allocations: 4.375 kB / 491.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.1551, allocations: 341.3 kB / 491.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1555, allocations: 15.94 kB / 491.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.1564, allocations: 0.6228 MB / 492.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1568, allocations: 0.7437 MB / 493.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.1569, allocations: 15.44 kB / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1569, allocations: 0 / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of Templates: time 0.00636/0.1633, allocations: 4.218 MB / 497.5 MB, free: 3.438 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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