Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001689/0.001689, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001813/0.001813, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.558/1.558, allocations: 230.3 MB / 258 MB, free: 8.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2487/0.2487, allocations: 46.94 MB / 361.4 MB, free: 4.355 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 79.86 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4035, allocations: 66.03 MB / 0.5616 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004253/0.4078, allocations: 2.52 MB / 0.5641 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.4095, allocations: 0.8489 MB / 0.5649 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.4097, allocations: 4 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.4099, allocations: 55.52 kB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.4102, allocations: 114 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.4106, allocations: 103.8 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.411, allocations: 358.7 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.4112, allocations: 68.89 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.4115, allocations: 143.5 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.4118, allocations: 163.2 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.4118, allocations: 28 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.4119, allocations: 32 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.412, allocations: 75.81 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.4122, allocations: 155.2 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.4127, allocations: 378 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4127, allocations: 0 / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4127, allocations: 0 / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4127, allocations: 0 / 0.5665 GB, free: 15.48 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.001228/0.4139, allocations: 0.5635 MB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.414, allocations: 8.031 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.4141, allocations: 44.64 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.4146, allocations: 212.9 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.4146, allocations: 20.81 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.4146, allocations: 24.38 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.4152, allocations: 256.3 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4152, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.4152, allocations: 12 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4153, allocations: 8 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.4158, allocations: 229.9 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.4173, allocations: 0.847 MB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.4179, allocations: 278.7 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.4182, allocations: 120.8 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4182, allocations: 4 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.299e-05/0.4183, allocations: 46.53 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.242e-06/0.4183, allocations: 0 / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004577/0.4229, allocations: 0.9572 MB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4229, allocations: 55.41 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4232, allocations: 233.1 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.4232, allocations: 29.7 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4234, allocations: 173.3 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.4235, allocations: 107.1 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.4236, allocations: 49.7 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4238, allocations: 338.8 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.424, allocations: 95.95 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.4243, allocations: 122.8 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.4247, allocations: 223.4 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4247, allocations: 3.938 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001856/0.4266, allocations: 0.5412 MB / 0.572 GB, free: 9.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4266, allocations: 10.5 kB / 0.572 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4266, allocations: 0 / 0.572 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.4283, allocations: 315.1 kB / 0.5723 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.4285, allocations: 35.97 kB / 0.5723 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009391/0.4379, allocations: 6.443 MB / 0.5786 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.4382, allocations: 27.83 kB / 0.5786 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4383, allocations: 8 kB / 0.5786 GB, free: 2.375 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.000217/0.4385, allocations: 145.8 kB / 0.5788 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.4385, allocations: 27.81 kB / 0.5788 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4404, allocations: 0.5463 MB / 0.5793 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4404, allocations: 4 kB / 0.5793 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4404, allocations: 3.938 kB / 0.5793 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4404, allocations: 3.984 kB / 0.5793 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.4409, allocations: 328.4 kB / 0.5796 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4409, allocations: 7.938 kB / 0.5797 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.441, allocations: 15.98 kB / 0.5797 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.4426, allocations: 311.2 kB / 0.58 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4426, allocations: 11.98 kB / 0.58 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00846/0.4511, allocations: 6.495 MB / 0.5863 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4511, allocations: 0 / 0.5863 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.4529, allocations: 0.6206 MB / 0.5869 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.453, allocations: 31.69 kB / 0.587 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.453, allocations: 7.984 kB / 0.587 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.4532, allocations: 12 kB / 0.587 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4533, allocations: 31.92 kB / 0.587 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.4534, allocations: 19.94 kB / 0.587 GB, free: 9.195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.4536, allocations: 169.2 kB / 0.5872 GB, free: 9.031 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4536, allocations: 0 / 0.5872 GB, free: 9.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.4541, allocations: 119.9 kB / 0.5873 GB, free: 8.914 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.0001474/0.4543, allocations: 102.8 kB / 0.5874 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4554, allocations: 0.7445 MB / 0.5881 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4554, allocations: 3.938 kB / 0.5881 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.4568, allocations: 0.725 MB / 0.5888 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.4571, allocations: 20.5 kB / 0.5889 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4582, allocations: 0.5607 MB / 0.5894 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.4586, allocations: 0.7795 MB / 0.5902 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.4587, allocations: 9.953 kB / 0.5902 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.4587, allocations: 15.42 kB / 0.5902 GB, free: 5.789 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4587, allocations: 4 kB / 0.5902 GB, free: 5.785 MB / 430.1 MB Notification: Performance of Templates: time 0.01533/0.474, allocations: 8.514 MB / 0.5985 GB, free: 13.3 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.952430972829461]