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.001994/0.001994, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002419/0.002419, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2505/0.2505, allocations: 46.97 MB / 360.9 MB, free: 4.031 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.00213/0.00213, allocations: 63.89 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.382, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004267/0.3863, allocations: 2.345 MB / 0.5634 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3879, allocations: 0.7906 MB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.388, allocations: 4 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3883, allocations: 55.45 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3886, allocations: 119.2 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3888, allocations: 99.88 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.3892, allocations: 353.4 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3894, allocations: 67.56 kB / 0.5648 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.3897, allocations: 151.5 kB / 0.565 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.3899, allocations: 147.3 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.39, allocations: 28 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.39, allocations: 32.05 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3901, allocations: 63.72 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3903, allocations: 135.3 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.3907, allocations: 378.1 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3907, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3907, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3907, 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.001153/0.3919, allocations: 0.5557 MB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3919, allocations: 12.03 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.3921, allocations: 52.62 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.3925, allocations: 205 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3925, allocations: 20.88 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.3925, allocations: 24.38 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.3931, allocations: 244.4 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3931, allocations: 3.938 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3931, allocations: 12 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3931, allocations: 4 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.3936, allocations: 241.8 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3951, allocations: 0.7344 MB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.3957, allocations: 282.4 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.396, allocations: 132.8 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.396, allocations: 4 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.396, allocations: 38.48 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.396, allocations: 0 / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004407/0.4004, allocations: 0.9611 MB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4005, allocations: 59.41 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.4008, allocations: 233 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4008, allocations: 29.7 kB / 0.5694 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4009, allocations: 165.3 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.401, allocations: 115 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4011, allocations: 49.7 kB / 0.5697 GB, free: 11.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4013, allocations: 338.8 kB / 0.5701 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.4015, allocations: 91.95 kB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.4018, allocations: 122.8 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.4023, allocations: 235.3 kB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4023, allocations: 0 / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001795/0.4041, allocations: 0.545 MB / 0.571 GB, free: 9.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4041, allocations: 4 kB / 0.571 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4041, allocations: 0 / 0.571 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.4057, allocations: 319.1 kB / 0.5713 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4059, allocations: 23.98 kB / 0.5714 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007729/0.4136, allocations: 6.301 MB / 0.5775 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4138, allocations: 19.89 kB / 0.5775 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.4139, allocations: 4 kB / 0.5775 GB, free: 2.637 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.0001785/0.414, allocations: 145.8 kB / 0.5777 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.4141, allocations: 27.81 kB / 0.5777 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.4159, allocations: 0.5541 MB / 0.5782 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4159, allocations: 0 / 0.5782 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4159, allocations: 7.984 kB / 0.5782 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4159, allocations: 0 / 0.5782 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.4163, allocations: 249 kB / 0.5785 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4163, allocations: 3.938 kB / 0.5785 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4164, allocations: 19.98 kB / 0.5785 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.4179, allocations: 315.3 kB / 0.5788 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.4179, allocations: 8 kB / 0.5788 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00797/0.4259, allocations: 6.349 MB / 0.585 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4259, allocations: 4.031 kB / 0.585 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4277, allocations: 0.6129 MB / 0.5856 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.4277, allocations: 35.67 kB / 0.5856 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4278, allocations: 4 kB / 0.5857 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.428, allocations: 11.98 kB / 0.5857 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.4281, allocations: 35.94 kB / 0.5857 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4281, allocations: 8 kB / 0.5857 GB, free: 9.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.4283, allocations: 168.5 kB / 0.5859 GB, free: 9.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4283, allocations: 0 / 0.5859 GB, free: 9.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000554/0.4288, allocations: 123.9 kB / 0.586 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.0001206/0.429, allocations: 99.45 kB / 0.5861 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.4301, allocations: 0.7445 MB / 0.5868 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4301, allocations: 0 / 0.5868 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.4314, allocations: 0.7249 MB / 0.5875 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.4317, allocations: 32.55 kB / 0.5875 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4328, allocations: 0.5732 MB / 0.5881 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.433, allocations: 159.8 kB / 0.5883 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.4331, allocations: 13.95 kB / 0.5883 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.4331, allocations: 15.44 kB / 0.5883 GB, free: 6.953 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4331, allocations: 0 / 0.5883 GB, free: 6.953 MB / 430.1 MB Notification: Performance of Templates: time 0.01502/0.4481, allocations: 8.716 MB / 0.5968 GB, free: 14.29 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: 6.048546630889177]