Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2542/0.2542, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 83.84 kB / 0.4924 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 65.98 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003937/0.1349, allocations: 2.509 MB / 0.5592 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1368, allocations: 0.8412 MB / 0.5601 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1369, allocations: 7.938 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1372, allocations: 55.52 kB / 0.5601 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1375, allocations: 107.2 kB / 0.5602 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1379, allocations: 103.8 kB / 0.5603 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.1383, allocations: 358.7 kB / 0.5607 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1385, allocations: 68.7 kB / 0.5607 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1388, allocations: 135.6 kB / 0.5609 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.139, allocations: 175.2 kB / 0.561 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.1391, allocations: 28 kB / 0.561 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.1392, allocations: 32 kB / 0.5611 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.1393, allocations: 67.75 kB / 0.5611 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.1394, allocations: 159.2 kB / 0.5613 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.1399, allocations: 374.4 kB / 0.5617 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1399, allocations: 0 / 0.5617 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1399, allocations: 0 / 0.5617 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1399, allocations: 0 / 0.5617 GB, free: 0.9336 MB / 414.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.001181/0.1411, allocations: 0.6311 MB / 0.5623 GB, free: 256 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1411, allocations: 16.03 kB / 0.5623 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1413, allocations: 40.7 kB / 0.5623 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.1417, allocations: 270.8 kB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1417, allocations: 16.94 kB / 0.5626 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.1418, allocations: 24.38 kB / 0.5626 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.1423, allocations: 253 kB / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1423, allocations: 0 / 0.5629 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1424, allocations: 16 kB / 0.5629 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1424, allocations: 4 kB / 0.5629 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.1429, allocations: 234.1 kB / 0.5631 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.1445, allocations: 0.8795 MB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.145, allocations: 286.6 kB / 0.5642 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1453, allocations: 128.7 kB / 0.5644 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.1454, allocations: 7.984 kB / 0.5644 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.1454, allocations: 38.56 kB / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.1454, allocations: 0 / 0.5644 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.004905/0.1503, allocations: 1.254 MB / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1503, allocations: 59.41 kB / 0.5657 GB, free: 12.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.1506, allocations: 233.5 kB / 0.5659 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1507, allocations: 29.7 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1508, allocations: 172.7 kB / 0.5661 GB, free: 12.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/0.1509, allocations: 107.1 kB / 0.5662 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.151, allocations: 53.7 kB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1511, allocations: 330.8 kB / 0.5666 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1514, allocations: 103.9 kB / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.1516, allocations: 125.8 kB / 0.5668 GB, free: 11.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.1521, allocations: 235.2 kB / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1521, allocations: 0 / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001876/0.154, allocations: 0.5373 MB / 0.5675 GB, free: 10.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.154, allocations: 7.938 kB / 0.5675 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.154, allocations: 4 kB / 0.5675 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.1558, allocations: 311.1 kB / 0.5678 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.156, allocations: 35.91 kB / 0.5679 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/0.164, allocations: 6.84 MB / 0.5746 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.1642, allocations: 28.09 kB / 0.5746 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1642, allocations: 8 kB / 0.5746 GB, free: 2.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.1644, allocations: 149.8 kB / 0.5747 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.1645, allocations: 31.8 kB / 0.5748 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.1664, allocations: 0.5473 MB / 0.5753 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1664, allocations: 4 kB / 0.5753 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1664, allocations: 3.938 kB / 0.5753 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1664, allocations: 3.984 kB / 0.5753 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1669, allocations: 357.3 kB / 0.5757 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1669, allocations: 0 / 0.5757 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.167, allocations: 19.98 kB / 0.5757 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.1686, allocations: 315.1 kB / 0.576 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1686, allocations: 4 kB / 0.576 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008263/0.1769, allocations: 6.901 MB / 0.5827 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1769, allocations: 320 / 0.5827 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.1788, allocations: 0.6235 MB / 0.5833 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.1789, allocations: 108.8 kB / 0.5834 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1789, allocations: 8 kB / 0.5834 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1791, allocations: 11.98 kB / 0.5834 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.1793, allocations: 39.89 kB / 0.5835 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1793, allocations: 4 kB / 0.5835 GB, free: 8.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.1795, allocations: 178 kB / 0.5837 GB, free: 8.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1795, allocations: 3.938 kB / 0.5837 GB, free: 8.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000537/0.18, allocations: 116 kB / 0.5838 GB, free: 8.652 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.1801, allocations: 102 kB / 0.5839 GB, free: 8.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.1813, allocations: 0.7486 MB / 0.5846 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1813, allocations: 0 / 0.5846 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.1827, allocations: 0.7211 MB / 0.5853 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.183, allocations: 16.56 kB / 0.5853 GB, free: 6.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1842, allocations: 0.6088 MB / 0.5859 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1846, allocations: 0.7717 MB / 0.5867 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1846, allocations: 15.44 kB / 0.5867 GB, free: 5.496 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1846, allocations: 0 / 0.5867 GB, free: 5.496 MB / 446.1 MB Notification: Performance of Templates: time 0.2656/0.4502, allocations: 8.368 MB / 0.5949 GB, free: 34.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.874322338029742]