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.001135/0.001135, allocations: 107.3 kB / 17.2 MB, free: 6.27 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.001216/0.001216, allocations: 194 kB / 18.12 MB, free: 5.363 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.408/1.408, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2217/0.2217, allocations: 44.18 MB / 336.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004177/0.1334, allocations: 2.5 MB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1351, allocations: 1.04 MB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1352, allocations: 4 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.1365, allocations: 478.3 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1367, allocations: 83.5 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1379, allocations: 0.6225 MB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1382, allocations: 211 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.1387, allocations: 226.9 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1389, allocations: 91.69 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.139, allocations: 119.5 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1391, allocations: 20 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.1394, allocations: 139.8 kB / 474 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.1394, allocations: 47.83 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1396, allocations: 107.4 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.1401, allocations: 395.1 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1401, allocations: 0 / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1401, allocations: 0 / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1401, allocations: 3.938 kB / 474.6 MB, free: 8.758 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.001331/0.1414, allocations: 0.6149 MB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1415, allocations: 12.02 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/0.1418, allocations: 52.62 kB / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.142, allocations: 188 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1421, allocations: 20.94 kB / 475.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.1421, allocations: 24.38 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.1427, allocations: 299.6 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1428, allocations: 3.938 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.1428, allocations: 12 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1428, allocations: 8 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.1434, allocations: 225.6 kB / 476 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.145, allocations: 1.001 MB / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.1455, allocations: 385.7 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1458, allocations: 129.7 kB / 477.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.146, allocations: 93.09 kB / 477.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.146, allocations: 34.56 kB / 477.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.146, allocations: 0 / 477.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001192/0.1472, allocations: 0.4973 MB / 478.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.1473, allocations: 85.09 kB / 478.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1474, allocations: 136.2 kB / 478.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1475, allocations: 37.83 kB / 478.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1476, allocations: 140.1 kB / 478.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.1477, allocations: 67 kB / 478.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.1478, allocations: 37.7 kB / 478.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1479, allocations: 322.8 kB / 478.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1481, allocations: 71.94 kB / 479 MB, free: 3.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.1484, allocations: 122 kB / 479.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1488, allocations: 213.8 kB / 479.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1488, allocations: 0 / 479.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005922/0.1494, allocations: 273.9 kB / 479.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1495, allocations: 7.984 kB / 479.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1495, allocations: 4.109 kB / 479.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.1497, allocations: 49.64 kB / 479.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1499, allocations: 48.09 kB / 479.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.1519, allocations: 2.646 MB / 482.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.152, allocations: 23.83 kB / 482.4 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1521, allocations: 11.94 kB / 482.4 MB, free: 244 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 (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.0001403/0.1522, allocations: 137.9 kB / 482.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.1523, allocations: 19.94 kB / 482.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.1529, allocations: 268.3 kB / 482.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1529, allocations: 0 / 482.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1529, allocations: 4 kB / 482.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.153, allocations: 3.938 kB / 482.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.154, allocations: 0.6458 MB / 483.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.154, allocations: 0 / 483.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1542, allocations: 43.84 kB / 483.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.1543, allocations: 49.7 kB / 483.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1544, allocations: 0 / 483.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.1563, allocations: 2.643 MB / 486.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1563, allocations: 0 / 486.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.1572, allocations: 0.5212 MB / 486.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1573, allocations: 88.95 kB / 486.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1573, allocations: 8 kB / 486.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1575, allocations: 15.92 kB / 486.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.1576, allocations: 24.03 kB / 486.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1576, allocations: 4 kB / 486.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.1577, allocations: 116.9 kB / 487 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1577, allocations: 0 / 487 MB, free: 11.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.1582, allocations: 67.78 kB / 487 MB, free: 11.19 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.0002475/0.1584, allocations: 127.8 kB / 487.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000725/0.1592, allocations: 417.5 kB / 487.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1592, allocations: 0 / 487.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.1596, allocations: 321.3 kB / 487.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.16, allocations: 15.94 kB / 487.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.1609, allocations: 0.5589 MB / 488.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1613, allocations: 0.7399 MB / 489.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.702e-05/0.1614, allocations: 17.42 kB / 489.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.1614, allocations: 19.42 kB / 489.2 MB, free: 8.871 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1614, allocations: 3.938 kB / 489.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of Templates: time 0.005187/0.1666, allocations: 2.126 MB / 491.4 MB, free: 6.742 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