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.001015/0.001015, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.001308/0.001308, allocations: 176.7 kB / 18.25 MB, free: 5.527 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.414/1.414, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1995/0.1995, allocations: 44.26 MB / 337.7 MB, free: 2.488 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1213, allocations: 61.91 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003066/0.1244, allocations: 2.13 MB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1264, allocations: 1.016 MB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.1266, allocations: 8 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1271, allocations: 111.6 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.1276, allocations: 75.52 kB / 475.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.129, allocations: 0.5956 MB / 476.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.1295, allocations: 211 kB / 476.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.1306, allocations: 0.5133 MB / 476.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1308, allocations: 83.64 kB / 477 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1311, allocations: 107.5 kB / 477.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.1311, allocations: 12 kB / 477.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.1316, allocations: 131.9 kB / 477.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.1316, allocations: 39.83 kB / 477.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.1318, allocations: 121.2 kB / 477.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006889/0.1325, allocations: 382.9 kB / 477.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1325, allocations: 0 / 477.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1325, allocations: 0 / 477.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1326, allocations: 0 / 477.8 MB, free: 7.75 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.001472/0.134, allocations: 0.5852 MB / 478.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1341, allocations: 8.031 kB / 478.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.1345, allocations: 56.72 kB / 478.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1347, allocations: 192 kB / 478.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.1348, allocations: 20.94 kB / 478.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.1349, allocations: 24.38 kB / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.1356, allocations: 303.7 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1357, allocations: 3.906 kB / 478.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1357, allocations: 12 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1357, allocations: 8 kB / 479 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.1363, allocations: 249.6 kB / 479.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.138, allocations: 1.001 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.1386, allocations: 397.6 kB / 480.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.1389, allocations: 141.7 kB / 480.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.1391, allocations: 89.09 kB / 480.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1391, allocations: 34.56 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.1391, allocations: 0 / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001368/0.1405, allocations: 0.5288 MB / 481.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1405, allocations: 81.11 kB / 481.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1407, allocations: 144 kB / 481.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1407, allocations: 29.75 kB / 481.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.1408, allocations: 152 kB / 481.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.1409, allocations: 63.09 kB / 481.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.141, allocations: 25.7 kB / 481.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1411, allocations: 322.8 kB / 482.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.1414, allocations: 83.98 kB / 482.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.1416, allocations: 126 kB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.1421, allocations: 236.5 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1421, allocations: 0 / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006754/0.1428, allocations: 302.9 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1428, allocations: 4 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1429, allocations: 4.172 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.1431, allocations: 57.69 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.1433, allocations: 47.91 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.1453, allocations: 2.646 MB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.1455, allocations: 35.73 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.1455, allocations: 4 kB / 485.7 MB, free: 15.11 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.0001474/0.1457, allocations: 133.8 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.1458, allocations: 19.84 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.1464, allocations: 286.6 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1465, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1465, allocations: 4 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1465, allocations: 7.922 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.1477, allocations: 0.6732 MB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1477, allocations: 0 / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1478, allocations: 35.97 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.148, allocations: 53.69 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.148, allocations: 4 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.1499, allocations: 2.65 MB / 489.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1499, allocations: 0 / 489.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.1508, allocations: 0.547 MB / 490.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1509, allocations: 100.9 kB / 490.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1509, allocations: 4 kB / 490.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1511, allocations: 27.98 kB / 490.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.1512, allocations: 23.91 kB / 490.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1512, allocations: 4 kB / 490.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.1513, allocations: 103.3 kB / 490.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1513, allocations: 3.938 kB / 490.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.1518, allocations: 71.84 kB / 490.4 MB, free: 9.969 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.0002089/0.152, allocations: 121 kB / 490.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007499/0.1527, allocations: 437.1 kB / 491 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1528, allocations: 4.375 kB / 491 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.1532, allocations: 344 kB / 491.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1536, allocations: 12 kB / 491.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.1544, allocations: 0.5911 MB / 491.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1548, allocations: 0.736 MB / 492.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.1549, allocations: 21.36 kB / 492.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.1549, allocations: 15.44 kB / 492.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1549, allocations: 0 / 492.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of Templates: time 0.005753/0.1607, allocations: 2.099 MB / 494.8 MB, free: 5.488 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches