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.001593/0.001593, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001763/0.001763, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 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.2569/0.2569, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 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 0.002688/0.002688, allocations: 87.86 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3888, allocations: 66.07 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004149/0.393, allocations: 2.348 MB / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3946, allocations: 0.7906 MB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.3947, allocations: 4 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.395, allocations: 59.45 kB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.3953, allocations: 111.2 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3956, allocations: 91.88 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.396, allocations: 362.7 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.3962, allocations: 68.55 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.3965, allocations: 147.5 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.3967, allocations: 135.3 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.3968, allocations: 36 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.3969, allocations: 32 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.397, allocations: 71.75 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3971, allocations: 123.3 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.3976, allocations: 381.1 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3976, allocations: 4 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3976, allocations: 0 / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3976, allocations: 0 / 0.5658 GB, free: 15.22 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.001247/0.3988, allocations: 0.5595 MB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3989, allocations: 12.03 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.3991, allocations: 44.7 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.3995, allocations: 213 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.3995, allocations: 20.88 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.3996, allocations: 28.31 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.4001, allocations: 244.4 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4002, allocations: 3.938 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.4002, allocations: 12 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4002, allocations: 4 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.4008, allocations: 241.9 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.4023, allocations: 0.7305 MB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.403, allocations: 282.4 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.4032, allocations: 124.8 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.4033, allocations: 4 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.4034, allocations: 50.47 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.4034, allocations: 0 / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00454/0.4079, allocations: 0.9489 MB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.4079, allocations: 59.34 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.4082, allocations: 237.1 kB / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4083, allocations: 29.7 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.4084, allocations: 165.3 kB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4085, allocations: 111 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4087, allocations: 53.7 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4089, allocations: 338.8 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.4091, allocations: 87.95 kB / 0.5702 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.4094, allocations: 122.8 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.4099, allocations: 231.3 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4099, allocations: 4 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001839/0.4117, allocations: 0.5489 MB / 0.5711 GB, free: 9.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4117, allocations: 9.969 kB / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4117, allocations: 0 / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.4134, allocations: 315.1 kB / 0.5714 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4135, allocations: 27.97 kB / 0.5714 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008219/0.4218, allocations: 6.298 MB / 0.5776 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.422, allocations: 23.91 kB / 0.5776 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.422, allocations: 12 kB / 0.5776 GB, free: 2.441 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.0002006/0.4222, allocations: 141.8 kB / 0.5778 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.4223, allocations: 27.81 kB / 0.5778 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.4241, allocations: 0.5501 MB / 0.5783 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4241, allocations: 4 kB / 0.5783 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4241, allocations: 0 / 0.5783 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4241, allocations: 7.922 kB / 0.5783 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.4246, allocations: 253.1 kB / 0.5786 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.4246, allocations: 3.938 kB / 0.5786 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4247, allocations: 23.97 kB / 0.5786 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.4262, allocations: 311.3 kB / 0.5789 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.4262, allocations: 11.94 kB / 0.5789 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008421/0.4347, allocations: 6.342 MB / 0.5851 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4347, allocations: 0 / 0.5851 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.4365, allocations: 0.6129 MB / 0.5857 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.4366, allocations: 31.69 kB / 0.5857 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.4366, allocations: 8 kB / 0.5857 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.4368, allocations: 11.98 kB / 0.5858 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.4369, allocations: 31.94 kB / 0.5858 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4369, allocations: 12 kB / 0.5858 GB, free: 9.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.4371, allocations: 168.5 kB / 0.586 GB, free: 9.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4371, allocations: 0 / 0.586 GB, free: 9.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006013/0.4377, allocations: 119.9 kB / 0.5861 GB, free: 9.281 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.0001477/0.4379, allocations: 107.4 kB / 0.5862 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.4392, allocations: 0.7367 MB / 0.5869 GB, free: 8.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4392, allocations: 3.938 kB / 0.5869 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.4406, allocations: 0.7211 MB / 0.5876 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4409, allocations: 39.3 kB / 0.5876 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.4424, allocations: 0.5568 MB / 0.5882 GB, free: 6.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.4427, allocations: 171.8 kB / 0.5884 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.918e-05/0.4427, allocations: 13.95 kB / 0.5884 GB, free: 6.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.4428, allocations: 11.44 kB / 0.5884 GB, free: 6.766 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4428, allocations: 0 / 0.5884 GB, free: 6.766 MB / 430.1 MB Notification: Performance of Templates: time 0.01619/0.459, allocations: 8.731 MB / 0.5969 GB, free: 14.07 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] 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.915496535599232]