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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001569/0.001569, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2719/0.2719, allocations: 46.94 MB / 360.9 MB, free: 4.039 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.002126/0.002126, allocations: 67.84 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3701, allocations: 66.03 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004118/0.3743, allocations: 2.353 MB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3757, allocations: 0.779 MB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.3759, allocations: 4 kB / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3761, allocations: 59.39 kB / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.3764, allocations: 115.2 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.3767, allocations: 99.81 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.3771, allocations: 354.8 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.3773, allocations: 67.58 kB / 0.5648 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.3776, allocations: 151.5 kB / 0.5649 GB, free: 204 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.3778, allocations: 159.3 kB / 0.5651 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.3779, allocations: 28 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.378, allocations: 36.05 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.378, allocations: 63.72 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.3782, allocations: 139.3 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3787, allocations: 378.1 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3787, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3787, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3787, allocations: 0 / 0.5657 GB, free: 15.41 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.001268/0.38, allocations: 0.5635 MB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.38, allocations: 8.031 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.3802, allocations: 44.69 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.3806, allocations: 213 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3806, allocations: 24.81 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.3807, allocations: 24.38 kB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.3812, allocations: 248.3 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3812, allocations: 7.984 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.3812, allocations: 8 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3812, allocations: 8 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.3818, allocations: 229.9 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.3832, allocations: 0.7306 MB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.3838, allocations: 294.3 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3841, allocations: 120.8 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.3841, allocations: 8 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3842, allocations: 38.55 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.3842, allocations: 0 / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004844/0.389, allocations: 0.9572 MB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3891, allocations: 55.41 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.3893, allocations: 229.1 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3893, allocations: 33.7 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3895, allocations: 173.3 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.3896, allocations: 111 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.3897, allocations: 49.7 kB / 0.5698 GB, free: 11.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3898, allocations: 334.8 kB / 0.5701 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.3901, allocations: 91.95 kB / 0.5702 GB, free: 10.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3903, allocations: 122.8 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.3908, allocations: 239.2 kB / 0.5705 GB, free: 10.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3908, allocations: 0 / 0.5705 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0019/0.3927, allocations: 0.5411 MB / 0.571 GB, free: 9.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3927, allocations: 8 kB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3927, allocations: 4 kB / 0.571 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.3945, allocations: 315.1 kB / 0.5713 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3947, allocations: 23.98 kB / 0.5714 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.4025, allocations: 6.311 MB / 0.5775 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4027, allocations: 19.89 kB / 0.5776 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4027, allocations: 8 kB / 0.5776 GB, free: 2.633 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.0001989/0.4029, allocations: 141.8 kB / 0.5777 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.403, allocations: 27.81 kB / 0.5777 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.4049, allocations: 0.5502 MB / 0.5783 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4049, allocations: 7.984 kB / 0.5783 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.4049, allocations: 0 / 0.5783 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4049, allocations: 0 / 0.5783 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.4053, allocations: 249 kB / 0.5785 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4053, allocations: 3.938 kB / 0.5785 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.4055, allocations: 20.17 kB / 0.5785 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.4071, allocations: 319.1 kB / 0.5788 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.4071, allocations: 8 kB / 0.5788 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007739/0.4149, allocations: 6.345 MB / 0.585 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4149, allocations: 0 / 0.585 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.4167, allocations: 0.6167 MB / 0.5856 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.4168, allocations: 27.75 kB / 0.5857 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.4168, allocations: 4 kB / 0.5857 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.417, allocations: 11.98 kB / 0.5857 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.4172, allocations: 35.94 kB / 0.5857 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4172, allocations: 4 kB / 0.5857 GB, free: 9.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4174, allocations: 176.4 kB / 0.5859 GB, free: 9.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4174, allocations: 4 kB / 0.5859 GB, free: 9.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005527/0.4179, allocations: 119.9 kB / 0.586 GB, free: 9.473 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.000144/0.418, allocations: 95.52 kB / 0.5861 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4193, allocations: 0.7484 MB / 0.5868 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4193, allocations: 0 / 0.5868 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.4206, allocations: 0.7172 MB / 0.5875 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4209, allocations: 40.55 kB / 0.5876 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.422, allocations: 0.5629 MB / 0.5881 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.4222, allocations: 163.8 kB / 0.5883 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.286e-05/0.4223, allocations: 17.94 kB / 0.5883 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.4223, allocations: 15.44 kB / 0.5883 GB, free: 6.961 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4223, allocations: 0 / 0.5883 GB, free: 6.961 MB / 430.1 MB Notification: Performance of Templates: time 0.01528/0.4376, allocations: 8.817 MB / 0.5969 GB, free: 14.2 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/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_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: 5.775846198666841]