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.001029/0.001029, allocations: 105.4 kB / 18.4 MB, free: 4.699 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.0009635/0.0009635, allocations: 188 kB / 19.34 MB, free: 3.77 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.361/1.361, allocations: 222.9 MB / 243 MB, free: 15.07 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.2282/0.2282, allocations: 44.17 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.36 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003959/0.1364, allocations: 2.458 MB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1379, allocations: 1.043 MB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.138, allocations: 8 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1392, allocations: 0.4932 MB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1394, allocations: 107.2 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1405, allocations: 0.6302 MB / 475.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1408, allocations: 223 kB / 475.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.1412, allocations: 259.5 kB / 475.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1414, allocations: 99.64 kB / 476 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1416, allocations: 119.5 kB / 476.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1416, allocations: 24 kB / 476.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.1419, allocations: 147.9 kB / 476.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.1419, allocations: 47.83 kB / 476.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1421, allocations: 119.4 kB / 476.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.1425, allocations: 390.8 kB / 476.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1425, allocations: 4 kB / 476.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1425, allocations: 0 / 476.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1425, allocations: 4 kB / 476.9 MB, free: 7.504 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.001257/0.1438, allocations: 0.6125 MB / 477.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1438, allocations: 12.03 kB / 477.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.1442, allocations: 48.62 kB / 477.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1443, allocations: 196 kB / 477.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1443, allocations: 20.94 kB / 477.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.1444, allocations: 24.38 kB / 477.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.145, allocations: 291.7 kB / 478 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.145, allocations: 4 kB / 478 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.145, allocations: 8 kB / 478.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.145, allocations: 8 kB / 478.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.1455, allocations: 233.5 kB / 478.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1469, allocations: 0.9934 MB / 479.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.1474, allocations: 383.2 kB / 479.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.1477, allocations: 137.7 kB / 479.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.335e-05/0.1478, allocations: 81.11 kB / 479.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1479, allocations: 42.5 kB / 479.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.1479, allocations: 0 / 479.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00113/0.149, allocations: 0.4958 MB / 480.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1491, allocations: 81.23 kB / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1492, allocations: 139.9 kB / 480.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1492, allocations: 29.7 kB / 480.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.1493, allocations: 144.1 kB / 480.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1493, allocations: 70.98 kB / 480.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.1494, allocations: 37.7 kB / 480.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1495, allocations: 326.8 kB / 481.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1498, allocations: 71.89 kB / 481.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.15, allocations: 119.6 kB / 481.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.1504, allocations: 201.8 kB / 481.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1504, allocations: 4 kB / 481.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005798/0.151, allocations: 274.9 kB / 481.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.151, allocations: 4 kB / 481.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.151, allocations: 4 kB / 481.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.1512, allocations: 57.81 kB / 481.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1514, allocations: 39.97 kB / 482 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.1534, allocations: 2.848 MB / 484.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1536, allocations: 23.83 kB / 484.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1536, allocations: 8 kB / 484.9 MB, free: 14.79 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.0001262/0.1537, allocations: 145.8 kB / 485 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.1538, allocations: 19.75 kB / 485 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.1544, allocations: 268.4 kB / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1544, allocations: 0 / 485.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1544, allocations: 4 kB / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1544, allocations: 0 / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1554, allocations: 0.6476 MB / 485.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1554, allocations: 3.938 kB / 485.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1556, allocations: 31.97 kB / 486 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.1557, allocations: 57.7 kB / 486 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1558, allocations: 3.984 kB / 486 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.1577, allocations: 2.844 MB / 488.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.1577, allocations: 7.875 kB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/0.1586, allocations: 0.5141 MB / 489.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1586, allocations: 96.89 kB / 489.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1587, allocations: 4 kB / 489.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1588, allocations: 11.98 kB / 489.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.1589, allocations: 27.97 kB / 489.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1589, allocations: 8 kB / 489.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.159, allocations: 109.8 kB / 489.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 0 / 489.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1594, allocations: 67.84 kB / 489.7 MB, free: 9.512 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.0002177/0.1596, allocations: 131.1 kB / 489.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.1603, allocations: 409.5 kB / 490.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1604, allocations: 4 kB / 490.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.1608, allocations: 329.2 kB / 490.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1612, allocations: 10.06 kB / 490.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.162, allocations: 492.2 kB / 491.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1623, allocations: 0.7321 MB / 491.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.1624, allocations: 17.42 kB / 491.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1625, allocations: 15.44 kB / 491.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1625, allocations: 4 kB / 491.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of Templates: time 0.006154/0.1686, allocations: 2.293 MB / 494.1 MB, free: 4.992 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 -s gbode -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