Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 89.05 kB / 9.989 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002865/0.004337, allocations: 452 kB / 10.43 MB, free: 260 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002111/0.00374, allocations: 483.5 kB / 11.8 MB, free: 2.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/1.155, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1297/0.1297, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02038/0.1501, allocations: 12.32 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.02e-05, allocations: 6.25 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004423/0.004443, allocations: 5.157 MB / 272.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.006918, allocations: 1.674 MB / 274.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.007217, allocations: 23.94 kB / 274.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.008795, allocations: 1.684 MB / 275.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005897/0.009385, allocations: 317.4 kB / 276.2 MB, free: 9.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.01007, allocations: 0.5061 MB / 276.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.01072, allocations: 0.8355 MB / 277.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.01139, allocations: 0.6372 MB / 278.2 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.01185, allocations: 0.5152 MB / 278.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.0122, allocations: 367 kB / 279.1 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-05/0.01229, allocations: 76 kB / 279.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.01261, allocations: 187.7 kB / 279.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.01268, allocations: 135.5 kB / 279.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.01283, allocations: 239.6 kB / 279.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.01343, allocations: 0.6926 MB / 280.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.01344, allocations: 4 kB / 280.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01344, allocations: 0 / 280.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.01346, allocations: 0 / 280.4 MB, free: 5.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002131/0.01559, allocations: 1.596 MB / 282 MB, free: 3.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.01562, allocations: 8.031 kB / 282 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.01655, allocations: 396.2 kB / 282.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.0167, allocations: 197.3 kB / 282.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.01674, allocations: 78.38 kB / 282.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.01684, allocations: 112.1 kB / 282.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.01742, allocations: 0.6709 MB / 283.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.01744, allocations: 3.984 kB / 283.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.01749, allocations: 43.94 kB / 283.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.0175, allocations: 27.94 kB / 283.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.0178, allocations: 265.8 kB / 283.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/0.1435, allocations: 2.233 MB / 286 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.1443, allocations: 0.6686 MB / 286.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1444, allocations: 149.1 kB / 286.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/0.1445, allocations: 27.89 kB / 286.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1445, allocations: 44 kB / 286.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 2.414e-06/0.1445, allocations: 0 / 286.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.001091/0.1456, allocations: 0.6836 MB / 287.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1457, allocations: 141.3 kB / 287.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1459, allocations: 290 kB / 288 MB, free: 6.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1459, allocations: 39.45 kB / 288 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.146, allocations: 405.7 kB / 288.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1461, allocations: 240.2 kB / 288.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1462, allocations: 142.8 kB / 288.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.1463, allocations: 354.3 kB / 289.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.1464, allocations: 76.89 kB / 289.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1465, allocations: 283.4 kB / 289.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.1469, allocations: 458.2 kB / 290 MB, free: 5.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1469, allocations: 2.562 kB / 290 MB, free: 5.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.000599/0.1475, allocations: 0.5477 MB / 290.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1475, allocations: 7.062 kB / 290.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1475, allocations: 7.281 kB / 290.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.1481, allocations: 231.6 kB / 290.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.1484, allocations: 161.9 kB / 290.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.1504, allocations: 5.307 MB / 296.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.1506, allocations: 80.08 kB / 296.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1507, allocations: 29.72 kB / 296.3 MB, free: 0.6602 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1508, allocations: 158.6 kB / 296.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.1509, allocations: 49.44 kB / 296.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.1514, allocations: 444.7 kB / 297 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1514, allocations: 11.53 kB / 297 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1514, allocations: 5.125 kB / 297 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1514, allocations: 5.656 kB / 297 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1525, allocations: 0.8872 MB / 297.9 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1525, allocations: 3.219 kB / 297.9 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1526, allocations: 72.69 kB / 297.9 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.1526, allocations: 50.33 kB / 298 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.1531, allocations: 224.1 kB / 298.2 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1531, allocations: 16.28 kB / 298.2 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.1561, allocations: 5.271 MB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1561, allocations: 1.5 kB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.1568, allocations: 0.7986 MB / 304.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1568, allocations: 10.72 kB / 304.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1569, allocations: 19.97 kB / 304.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.157, allocations: 57.16 kB / 304.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1571, allocations: 13.81 kB / 304.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.1572, allocations: 83.8 kB / 304.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1572, allocations: 2.516 kB / 304.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009367/0.1581, allocations: 282.1 kB / 304.8 MB, free: 11.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.1583, allocations: 119.9 kB / 304.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008898/0.1592, allocations: 0.8826 MB / 305.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-05/0.1592, allocations: 14.44 kB / 305.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.1597, allocations: 0.7415 MB / 306.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.1602, allocations: 273.5 kB / 306.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.1661, allocations: 1.184 MB / 308 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.1662, allocations: 158.6 kB / 308.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.1664, allocations: 55.59 kB / 308.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1665, allocations: 89.95 kB / 308.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1665, allocations: 1.219 kB / 308.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of Templates: time 0.0111/0.1776, allocations: 7.092 MB / 315.4 MB, free: 6.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1815431592985988]