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.002528/0.002528, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00308/0.00308, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 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 1.635/1.635, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.362/0.362, allocations: 34.26 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.323e-06/1.323e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.151e-05, allocations: 12.5 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004215/0.004247, allocations: 2.475 MB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.005815, allocations: 0.81 MB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.005933, allocations: 4 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.006141, allocations: 63.5 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.006435, allocations: 111.1 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.006734, allocations: 103.8 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.007159, allocations: 358.6 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.007323, allocations: 64.75 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.007699, allocations: 223.4 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.0079, allocations: 115.7 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.007955, allocations: 28 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.198e-05/0.008037, allocations: 32 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.008113, allocations: 71.73 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.008248, allocations: 103.7 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.008784, allocations: 390.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.008787, allocations: 4 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008788, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.008795, allocations: 0 / 382.1 MB, free: 13.96 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.001422/0.01022, allocations: 0.6748 MB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.01026, allocations: 8.031 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.01047, allocations: 60.7 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.01083, allocations: 211.5 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.01086, allocations: 20.88 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.0109, allocations: 24.38 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.01142, allocations: 240.5 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01143, allocations: 192 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.01146, allocations: 8.375 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.01147, allocations: 15.94 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.01196, allocations: 217.9 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.01362, allocations: 0.8434 MB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.01425, allocations: 295.2 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.01457, allocations: 127.7 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.498e-05/0.01462, allocations: 8 kB / 384.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.01468, allocations: 45.38 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/0.01468, allocations: 0 / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004874/0.01955, allocations: 0.9877 MB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.01961, allocations: 55.34 kB / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.01999, allocations: 324.3 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.02003, allocations: 33.7 kB / 386.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.02022, allocations: 227.4 kB / 386.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.02036, allocations: 119 kB / 386.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.02048, allocations: 59.36 kB / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003051/0.02078, allocations: 0.5196 MB / 387.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.02099, allocations: 87.97 kB / 387.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.02123, allocations: 121.1 kB / 387.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.02169, allocations: 233 kB / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.02169, allocations: 0 / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00191/0.0236, allocations: 0.5639 MB / 388.2 MB, free: 7.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.02363, allocations: 11.88 kB / 388.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.02363, allocations: 0 / 388.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.02659, allocations: 0.4984 MB / 388.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.02676, allocations: 31.92 kB / 388.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.03692, allocations: 8.44 MB / 397.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.03718, allocations: 23.84 kB / 397.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.03721, allocations: 12 kB / 397.2 MB, free: 14.09 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 0.000216/0.03742, allocations: 184.5 kB / 397.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.0375, allocations: 39.8 kB / 397.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.03943, allocations: 0.5622 MB / 398 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.03944, allocations: 7.984 kB / 398 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.03944, allocations: 0 / 398 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.03945, allocations: 0 / 398 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.03989, allocations: 288.4 kB / 398.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.03989, allocations: 0 / 398.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.04, allocations: 27.98 kB / 398.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/0.04278, allocations: 0.5023 MB / 398.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.04281, allocations: 7.938 kB / 398.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009614/0.05242, allocations: 8.495 MB / 407.3 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.05242, allocations: 0 / 407.3 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.05437, allocations: 0.701 MB / 408 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.05442, allocations: 27.75 kB / 408 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.05446, allocations: 11.94 kB / 408.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.05464, allocations: 8 kB / 408.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.05476, allocations: 31.92 kB / 408.1 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.05478, allocations: 12 kB / 408.1 MB, free: 2.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.05501, allocations: 221.1 kB / 408.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05501, allocations: 3.938 kB / 408.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.05553, allocations: 119.9 kB / 408.4 MB, free: 2.242 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 0.0001407/0.05567, allocations: 103.2 kB / 408.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.05697, allocations: 0.9712 MB / 409.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.05697, allocations: 4 kB / 409.5 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.05847, allocations: 0.9717 MB / 410.5 MB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.05878, allocations: 24.67 kB / 410.5 MB, free: 4 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.06004, allocations: 0.5677 MB / 411.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.06023, allocations: 167.8 kB / 411.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.06029, allocations: 9.953 kB / 411.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.06033, allocations: 16.5 kB / 411.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.06034, allocations: 0 / 411.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of Templates: time 0.01647/0.07681, allocations: 8.832 MB / 420.1 MB, free: 6.41 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","/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.690956049016677]