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.0009086/0.0009086, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.000908/0.000908, allocations: 164.3 kB / 24.82 MB, free: 9.324 MB / 18.57 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 0.9355/0.9355, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2489/0.2489, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.317e-05, allocations: 6.875 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003457/0.00347, allocations: 2.484 MB / 381.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.00485, allocations: 0.8217 MB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.004998, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.005199, allocations: 55.52 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.005494, allocations: 119 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.005753, allocations: 91.86 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.006118, allocations: 369.8 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.006278, allocations: 68.83 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.006614, allocations: 211.5 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.006785, allocations: 115.7 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.006834, allocations: 32 kB / 383.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.006914, allocations: 36 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.006966, allocations: 67.73 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.007074, allocations: 103.7 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.007382, allocations: 247.1 kB / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.007385, allocations: 0 / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007385, allocations: 0 / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.007389, allocations: 0 / 384 MB, free: 13.03 MB / 362.7 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.0008471/0.008236, allocations: 0.6633 MB / 384.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.008273, allocations: 15.97 kB / 384.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.00843, allocations: 64.7 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.00869, allocations: 215.5 kB / 385 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.00871, allocations: 16.88 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.008744, allocations: 24.38 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.009033, allocations: 173.3 kB / 385.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.00904, allocations: 192 / 385.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.009057, allocations: 12.38 kB / 385.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.009063, allocations: 11.94 kB / 385.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.009187, allocations: 95.34 kB / 385.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.009908, allocations: 0.6918 MB / 386 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.01011, allocations: 195 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.01018, allocations: 71.66 kB / 386.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.0102, allocations: 8 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.01022, allocations: 41.39 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.152e-06/0.01022, allocations: 0 / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001821/0.01204, allocations: 0.8036 MB / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.01207, allocations: 55.41 kB / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.0122, allocations: 284.1 kB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.01222, allocations: 33.7 kB / 387.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.01231, allocations: 216 kB / 387.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.01236, allocations: 115 kB / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.01242, allocations: 59.33 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.01253, allocations: 0.5079 MB / 388.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.01258, allocations: 43.75 kB / 388.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.01265, allocations: 73.08 kB / 388.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.01278, allocations: 117 kB / 388.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01278, allocations: 4 kB / 388.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006855/0.01346, allocations: 429.5 kB / 389 MB, free: 7.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01347, allocations: 4 kB / 389 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01348, allocations: 3.938 kB / 389 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.01459, allocations: 482.3 kB / 389.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.01466, allocations: 23.97 kB / 389.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.01835, allocations: 7.626 MB / 397.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.01844, allocations: 28.08 kB / 397.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01845, allocations: 8 kB / 397.2 MB, free: 15.14 MB / 378.7 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 9.037e-05/0.01854, allocations: 176.5 kB / 397.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.01858, allocations: 39.81 kB / 397.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.0193, allocations: 439.8 kB / 397.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.0193, allocations: 0 / 397.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.0193, allocations: 4 kB / 397.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0193, allocations: 0 / 397.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.0195, allocations: 217 kB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.0195, allocations: 0 / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.01954, allocations: 15.98 kB / 398 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.0206, allocations: 470.2 kB / 398.5 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.02061, allocations: 4 kB / 398.5 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/0.02443, allocations: 7.693 MB / 406.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.02443, allocations: 0 / 406.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.02511, allocations: 0.5681 MB / 406.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.02513, allocations: 31.73 kB / 406.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.02515, allocations: 11.88 kB / 406.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.02522, allocations: 12 kB / 406.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.0253, allocations: 35.92 kB / 406.8 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.02531, allocations: 8 kB / 406.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.02538, allocations: 189.1 kB / 407 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02538, allocations: 0 / 407 MB, free: 4.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000297/0.02568, allocations: 123.9 kB / 407.2 MB, free: 4.562 MB / 378.7 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 7.58e-05/0.02575, allocations: 99.19 kB / 407.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.02623, allocations: 0.8619 MB / 408.1 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.02623, allocations: 0 / 408.1 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.02678, allocations: 0.9131 MB / 409 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.02698, allocations: 24.44 kB / 409.1 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.02766, allocations: 0.5337 MB / 409.6 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.02772, allocations: 96.61 kB / 409.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.018e-05/0.02776, allocations: 9.953 kB / 409.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.02782, allocations: 86.19 kB / 409.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02782, allocations: 4 kB / 409.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of Templates: time 0.009952/0.03777, allocations: 9.212 MB / 419 MB, free: 8.551 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1396836331114173]