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.001734/0.001734, allocations: 111.9 kB / 19.12 MB, free: 3.961 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.002066/0.002066, allocations: 204.9 kB / 22.08 MB, free: 1.008 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.47/1.47, allocations: 227.4 MB / 252.3 MB, free: 88 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.2399/0.2399, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.33 kB / 490.9 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1088, allocations: 62.45 MB / 0.5403 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003972/0.1128, allocations: 2.484 MB / 0.5428 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1143, allocations: 0.8256 MB / 0.5436 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1144, allocations: 4 kB / 0.5436 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1147, allocations: 63.5 kB / 0.5436 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1149, allocations: 111.2 kB / 0.5437 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1152, allocations: 99.75 kB / 0.5438 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.1156, allocations: 358.7 kB / 0.5442 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1158, allocations: 96.64 kB / 0.5443 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.1161, allocations: 147.5 kB / 0.5444 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1163, allocations: 163.2 kB / 0.5446 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.1164, allocations: 28.05 kB / 0.5446 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.1165, allocations: 32 kB / 0.5446 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.1166, allocations: 71.66 kB / 0.5447 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1168, allocations: 159.2 kB / 0.5449 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.1172, allocations: 374.4 kB / 0.5452 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1172, allocations: 4 kB / 0.5452 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1172, allocations: 0 / 0.5452 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1172, allocations: 0 / 0.5452 GB, free: 15.36 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.001161/0.1184, allocations: 0.6339 MB / 0.5458 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1184, allocations: 12.03 kB / 0.5458 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1186, allocations: 44.69 kB / 0.5459 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.119, allocations: 270.8 kB / 0.5461 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.1191, allocations: 20.94 kB / 0.5462 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.1191, allocations: 28.38 kB / 0.5462 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.1197, allocations: 249 kB / 0.5464 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1197, allocations: 0 / 0.5464 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.1197, allocations: 12 kB / 0.5464 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1197, allocations: 4 kB / 0.5464 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.1203, allocations: 230.1 kB / 0.5467 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1218, allocations: 0.8911 MB / 0.5475 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.1224, allocations: 306.7 kB / 0.5478 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.1227, allocations: 144.8 kB / 0.548 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.1228, allocations: 4 kB / 0.548 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1228, allocations: 34.56 kB / 0.548 GB, free: 12.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.1228, allocations: 0 / 0.548 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004675/0.1275, allocations: 1.27 MB / 0.5492 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1276, allocations: 55.41 kB / 0.5493 GB, free: 10.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1278, allocations: 233 kB / 0.5495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1279, allocations: 33.7 kB / 0.5495 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.128, allocations: 161.3 kB / 0.5497 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1281, allocations: 115 kB / 0.5498 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1282, allocations: 57.69 kB / 0.5499 GB, free: 10.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1284, allocations: 334.8 kB / 0.5502 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1287, allocations: 95.95 kB / 0.5503 GB, free: 9.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.1289, allocations: 125.7 kB / 0.5504 GB, free: 9.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.1294, allocations: 231.3 kB / 0.5506 GB, free: 9.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1294, allocations: 0 / 0.5506 GB, free: 9.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001855/0.1313, allocations: 0.5451 MB / 0.5511 GB, free: 8.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1313, allocations: 7.984 kB / 0.5512 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1313, allocations: 0 / 0.5512 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/0.1331, allocations: 315.1 kB / 0.5515 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1332, allocations: 27.92 kB / 0.5515 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00818/0.1414, allocations: 6.853 MB / 0.5582 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1417, allocations: 23.86 kB / 0.5582 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1417, allocations: 11.98 kB / 0.5582 GB, free: 1.125 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.0001801/0.1419, allocations: 141.8 kB / 0.5583 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.142, allocations: 31.75 kB / 0.5584 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.1438, allocations: 0.5479 MB / 0.5589 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1439, allocations: 4 kB / 0.5589 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1439, allocations: 3.938 kB / 0.5589 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1439, allocations: 0 / 0.5589 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1444, allocations: 369.3 kB / 0.5593 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1444, allocations: 0 / 0.5593 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1445, allocations: 31.84 kB / 0.5593 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.1461, allocations: 311.1 kB / 0.5596 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1461, allocations: 4 kB / 0.5596 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00827/0.1544, allocations: 6.902 MB / 0.5663 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1544, allocations: 0 / 0.5663 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.1563, allocations: 0.6274 MB / 0.567 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.1564, allocations: 108.8 kB / 0.5671 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1565, allocations: 4 kB / 0.5671 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1567, allocations: 15.98 kB / 0.5671 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1568, allocations: 35.95 kB / 0.5671 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1568, allocations: 4 kB / 0.5671 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.157, allocations: 174 kB / 0.5673 GB, free: 7.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 0.5673 GB, free: 7.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.1576, allocations: 115.9 kB / 0.5674 GB, free: 7.027 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.0001321/0.1577, allocations: 107.2 kB / 0.5675 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.1589, allocations: 0.7642 MB / 0.5682 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1589, allocations: 0 / 0.5682 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.1602, allocations: 0.7328 MB / 0.569 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1606, allocations: 32.48 kB / 0.569 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1617, allocations: 0.5862 MB / 0.5696 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1621, allocations: 0.7717 MB / 0.5703 GB, free: 3.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.1622, allocations: 19.42 kB / 0.5703 GB, free: 3.84 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1622, allocations: 4 kB / 0.5703 GB, free: 3.836 MB / 430.1 MB Notification: Performance of Templates: time 0.01145/0.1737, allocations: 8.349 MB / 0.5785 GB, free: 11.48 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.663706616032869]