Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 46.96 MB / 361.6 MB, free: 4.094 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 63.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.353, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004016/0.357, allocations: 2.344 MB / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3586, allocations: 0.7867 MB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3587, allocations: 4 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.359, allocations: 63.5 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3593, allocations: 110.8 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3596, allocations: 99.86 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.36, allocations: 354.7 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3602, allocations: 68.89 kB / 0.5655 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.3605, allocations: 147.5 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.3607, allocations: 139.3 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.071e-05/0.3608, allocations: 28.05 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.3609, allocations: 32 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.361, allocations: 71.7 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3611, allocations: 131.3 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.3615, allocations: 377.3 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3615, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3615, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3615, allocations: 0 / 0.5664 GB, free: 15.4 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.3627, allocations: 0.5635 MB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3628, allocations: 8.031 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.3629, allocations: 44.69 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.3634, allocations: 220.9 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3634, allocations: 16.88 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.3634, allocations: 24.38 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.364, allocations: 248.4 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.364, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.364, allocations: 12 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.364, allocations: 8 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.3645, allocations: 229.8 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.3661, allocations: 0.7345 MB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.3668, allocations: 294.4 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.3671, allocations: 124.8 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.3671, allocations: 4 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3671, allocations: 38.55 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.3671, allocations: 4 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00453/0.3717, allocations: 0.9611 MB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3717, allocations: 55.41 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.372, allocations: 229.1 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.372, allocations: 33.7 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3722, allocations: 165.3 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.3723, allocations: 111 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3724, allocations: 49.7 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3725, allocations: 338.8 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3728, allocations: 95.95 kB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.373, allocations: 122.8 kB / 0.571 GB, free: 10.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.3735, allocations: 227.3 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3735, allocations: 0 / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001827/0.3754, allocations: 0.5489 MB / 0.5718 GB, free: 9.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.3754, allocations: 8 kB / 0.5718 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3754, allocations: 0 / 0.5718 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.3771, allocations: 315.1 kB / 0.5721 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3773, allocations: 27.98 kB / 0.5721 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/0.3852, allocations: 6.3 MB / 0.5782 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3855, allocations: 19.92 kB / 0.5783 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3855, allocations: 12 kB / 0.5783 GB, free: 2.621 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.000187/0.3857, allocations: 144.6 kB / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3858, allocations: 31.88 kB / 0.5784 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.3876, allocations: 0.5462 MB / 0.579 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3876, allocations: 7.984 kB / 0.579 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.3876, allocations: 0 / 0.579 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3876, allocations: 3.984 kB / 0.579 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.388, allocations: 257 kB / 0.5792 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.388, allocations: 3.938 kB / 0.5792 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3882, allocations: 19.98 kB / 0.5793 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.3897, allocations: 315.3 kB / 0.5796 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3897, allocations: 8 kB / 0.5796 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/0.3977, allocations: 6.345 MB / 0.5858 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3977, allocations: 4.062 kB / 0.5858 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3996, allocations: 0.605 MB / 0.5864 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.3997, allocations: 35.69 kB / 0.5864 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.3997, allocations: 4 kB / 0.5864 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3999, allocations: 19.98 kB / 0.5864 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4001, allocations: 27.94 kB / 0.5864 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.4001, allocations: 8 kB / 0.5864 GB, free: 9.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.4003, allocations: 168.5 kB / 0.5866 GB, free: 9.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4003, allocations: 0 / 0.5866 GB, free: 9.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000621/0.4009, allocations: 119.9 kB / 0.5867 GB, free: 9.461 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.0001326/0.401, allocations: 95.52 kB / 0.5868 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.4023, allocations: 0.7523 MB / 0.5875 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4023, allocations: 0 / 0.5875 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.4037, allocations: 0.7288 MB / 0.5883 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.404, allocations: 24.42 kB / 0.5883 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.4053, allocations: 0.5992 MB / 0.5889 GB, free: 7.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.4055, allocations: 163.8 kB / 0.589 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.4055, allocations: 15.44 kB / 0.589 GB, free: 6.926 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4055, allocations: 0 / 0.589 GB, free: 6.926 MB / 430.1 MB Notification: Performance of Templates: time 0.01325/0.4188, allocations: 8.475 MB / 0.5973 GB, free: 14.45 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.198572685010731]