Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00135/0.00135, allocations: 122.7 kB / 18.46 MB, free: 4.566 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.001422/0.001422, allocations: 207.3 kB / 21.41 MB, free: 1.621 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.537/1.537, allocations: 227.4 MB / 251.7 MB, free: 264 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 46.18 MB / 351.1 MB, free: 14.39 MB / 286.1 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 81.44 kB / 490.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 62.45 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004216/0.1343, allocations: 2.49 MB / 0.5421 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1359, allocations: 0.8334 MB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.136, allocations: 8 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.1362, allocations: 55.5 kB / 0.543 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1366, allocations: 111.2 kB / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1368, allocations: 103.8 kB / 0.5432 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.1373, allocations: 366.6 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1375, allocations: 88.69 kB / 0.5436 GB, free: 216 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.1378, allocations: 139.5 kB / 0.5438 GB, free: 76 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.138, allocations: 159.3 kB / 0.5439 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.1381, allocations: 32 kB / 0.5439 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.1382, allocations: 36 kB / 0.544 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.1382, allocations: 63.75 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1384, allocations: 159.1 kB / 0.5442 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.1388, allocations: 378.4 kB / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1389, allocations: 4 kB / 0.5446 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1389, allocations: 0 / 0.5446 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1389, allocations: 0 / 0.5446 GB, free: 15.26 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.001122/0.14, allocations: 0.635 MB / 0.5452 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1401, allocations: 8.031 kB / 0.5452 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1402, allocations: 40.7 kB / 0.5452 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1406, allocations: 278.8 kB / 0.5455 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1406, allocations: 16.94 kB / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.1407, allocations: 24.38 kB / 0.5455 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.1412, allocations: 249.2 kB / 0.5458 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.1412, allocations: 0 / 0.5458 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.1413, allocations: 8 kB / 0.5458 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1413, allocations: 8 kB / 0.5458 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.1418, allocations: 234.1 kB / 0.546 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1433, allocations: 0.8872 MB / 0.5469 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.1439, allocations: 306.7 kB / 0.5472 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1442, allocations: 140.8 kB / 0.5473 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1442, allocations: 7.984 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1443, allocations: 34.55 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.1443, allocations: 4 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004619/0.1489, allocations: 1.266 MB / 0.5486 GB, free: 10.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.149, allocations: 55.41 kB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1492, allocations: 233 kB / 0.5488 GB, free: 10.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1493, allocations: 29.7 kB / 0.5489 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1494, allocations: 177.3 kB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.1495, allocations: 111 kB / 0.5492 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.1496, allocations: 49.7 kB / 0.5492 GB, free: 10.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1498, allocations: 338.8 kB / 0.5495 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.15, allocations: 91.95 kB / 0.5496 GB, free: 9.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1503, allocations: 125.8 kB / 0.5497 GB, free: 9.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.1508, allocations: 235.2 kB / 0.55 GB, free: 9.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1508, allocations: 0 / 0.55 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00177/0.1526, allocations: 0.5451 MB / 0.5505 GB, free: 8.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1526, allocations: 11.94 kB / 0.5505 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1526, allocations: 0 / 0.5505 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.1543, allocations: 311.1 kB / 0.5508 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1545, allocations: 27.92 kB / 0.5508 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/0.1631, allocations: 6.847 MB / 0.5575 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.1634, allocations: 24.12 kB / 0.5575 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1634, allocations: 15.94 kB / 0.5575 GB, free: 1.02 MB / 414.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.0001983/0.1636, allocations: 145.8 kB / 0.5577 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1637, allocations: 27.81 kB / 0.5577 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.1655, allocations: 0.5556 MB / 0.5583 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1655, allocations: 0 / 0.5583 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1655, allocations: 3.938 kB / 0.5583 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1655, allocations: 11.98 kB / 0.5583 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.166, allocations: 357.3 kB / 0.5586 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.166, allocations: 0 / 0.5586 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1661, allocations: 19.92 kB / 0.5586 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.1677, allocations: 311.1 kB / 0.5589 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1677, allocations: 11.94 kB / 0.5589 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007995/0.1757, allocations: 6.898 MB / 0.5657 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1758, allocations: 8.016 kB / 0.5657 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.1776, allocations: 0.6196 MB / 0.5663 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.1777, allocations: 120.8 kB / 0.5664 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.1777, allocations: 8 kB / 0.5664 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1779, allocations: 11.98 kB / 0.5664 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1781, allocations: 31.89 kB / 0.5665 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1781, allocations: 8 kB / 0.5665 GB, free: 7.195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.1783, allocations: 170 kB / 0.5666 GB, free: 7.031 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1783, allocations: 0 / 0.5666 GB, free: 7.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.1788, allocations: 123.9 kB / 0.5667 GB, free: 6.91 MB / 430.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.000133/0.1789, allocations: 99.25 kB / 0.5668 GB, free: 6.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1801, allocations: 0.7641 MB / 0.5676 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1801, allocations: 0 / 0.5676 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.1814, allocations: 0.7328 MB / 0.5683 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1817, allocations: 20.56 kB / 0.5683 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.1827, allocations: 0.5759 MB / 0.5689 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.1831, allocations: 0.7717 MB / 0.5696 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.1832, allocations: 13.95 kB / 0.5696 GB, free: 3.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1832, allocations: 19.38 kB / 0.5697 GB, free: 3.75 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1832, allocations: 0 / 0.5697 GB, free: 3.75 MB / 430.1 MB Notification: Performance of Templates: time 0.0145/0.1977, allocations: 8.168 MB / 0.5776 GB, free: 11.61 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.590612414292991]