Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 76.08 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 62.45 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004018/0.1222, allocations: 2.525 MB / 482.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1238, allocations: 1.075 MB / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.124, allocations: 8 kB / 483.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1252, allocations: 486.1 kB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1254, allocations: 83.52 kB / 484.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.1263, allocations: 482.4 kB / 484.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.1266, allocations: 207 kB / 484.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.127, allocations: 238.9 kB / 485 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1272, allocations: 87.7 kB / 485.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1274, allocations: 123.5 kB / 485.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.1274, allocations: 16 kB / 485.2 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.1277, allocations: 155.8 kB / 485.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.1278, allocations: 39.86 kB / 485.4 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1279, allocations: 111.5 kB / 485.5 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1283, allocations: 307.7 kB / 485.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1283, allocations: 7.938 kB / 485.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1283, allocations: 0 / 485.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1283, allocations: 0 / 485.8 MB, free: 15.81 MB / 366.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.001357/0.1297, allocations: 0.6124 MB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1297, allocations: 12.88 kB / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.1301, allocations: 52.62 kB / 486.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1302, allocations: 192 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.1303, allocations: 16.94 kB / 486.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.1303, allocations: 28.31 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.1309, allocations: 295.7 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1309, allocations: 0 / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.1309, allocations: 8 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.131, allocations: 12 kB / 487.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.1315, allocations: 229.5 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.133, allocations: 1.001 MB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.1335, allocations: 379.2 kB / 488.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.1338, allocations: 129.7 kB / 488.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.134, allocations: 170.2 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1341, allocations: 42.5 kB / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.1341, allocations: 0 / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001182/0.1353, allocations: 0.4961 MB / 489.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1353, allocations: 81.11 kB / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1354, allocations: 133.8 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1355, allocations: 33.83 kB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1356, allocations: 148.1 kB / 489.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.1356, allocations: 71 kB / 489.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.1357, allocations: 37.7 kB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1358, allocations: 330.8 kB / 490.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1361, allocations: 63.95 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.1363, allocations: 129.8 kB / 490.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.1367, allocations: 201.8 kB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1367, allocations: 0 / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006001/0.1373, allocations: 281.9 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1374, allocations: 6.188 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1374, allocations: 0 / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.1376, allocations: 57.62 kB / 491 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1378, allocations: 44.16 kB / 491.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.1396, allocations: 2.646 MB / 493.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1398, allocations: 31.84 kB / 493.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1398, allocations: 8 kB / 493.7 MB, free: 7.199 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.0001308/0.14, allocations: 141.8 kB / 493.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.14, allocations: 19.75 kB / 493.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/0.1407, allocations: 260.3 kB / 494.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1407, allocations: 4 kB / 494.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1407, allocations: 0 / 494.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1407, allocations: 7.922 kB / 494.2 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1418, allocations: 0.6459 MB / 494.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1418, allocations: 3.938 kB / 494.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.142, allocations: 39.97 kB / 494.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.1421, allocations: 49.62 kB / 494.9 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1422, allocations: 4 kB / 494.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.1439, allocations: 2.635 MB / 497.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.144, allocations: 0 / 497.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.1448, allocations: 0.529 MB / 498.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.1449, allocations: 92.91 kB / 498.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1449, allocations: 4 kB / 498.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1451, allocations: 15.92 kB / 498.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1452, allocations: 28.03 kB / 498.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1452, allocations: 4 kB / 498.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.1453, allocations: 109.6 kB / 498.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1453, allocations: 0 / 498.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000455/0.1458, allocations: 71.78 kB / 498.4 MB, free: 2.141 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.0002224/0.146, allocations: 134.7 kB / 498.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.1467, allocations: 409.5 kB / 498.9 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1468, allocations: 0 / 498.9 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.1472, allocations: 329.3 kB / 499.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1476, allocations: 11.98 kB / 499.3 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.1485, allocations: 0.5883 MB / 499.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1489, allocations: 0.7399 MB / 0.4889 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.1489, allocations: 15.44 kB / 0.4889 GB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1489, allocations: 3.938 kB / 0.4889 GB, free: 15.8 MB / 382.1 MB Notification: Performance of Templates: time 0.006003/0.1549, allocations: 4.277 MB / 0.4931 GB, free: 11.52 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches