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.001627/0.001627, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001622/0.001622, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.431/1.431, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2359/0.2359, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] 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.002452/0.002452, allocations: 71.88 kB / 0.4968 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3017, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003842/0.3055, allocations: 2.509 MB / 0.5637 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3069, allocations: 0.849 MB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.307, allocations: 4 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3072, allocations: 63.5 kB / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.3075, allocations: 106 kB / 0.5646 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.3077, allocations: 103.8 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.3081, allocations: 357.5 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3082, allocations: 76.72 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.3085, allocations: 143.5 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3087, allocations: 163.2 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.3087, allocations: 28 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.3088, allocations: 32 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3089, allocations: 67.77 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.309, allocations: 155.2 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.3094, allocations: 378.5 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3094, allocations: 0 / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3094, allocations: 0 / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3094, allocations: 0 / 0.5661 GB, free: 15.98 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.001284/0.3107, allocations: 0.6311 MB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3108, allocations: 12.03 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3109, allocations: 48.62 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.3114, allocations: 270.7 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.3115, allocations: 20.94 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.3115, allocations: 24.38 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.3121, allocations: 257.1 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3121, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.3121, allocations: 12 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3121, allocations: 4 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.3127, allocations: 234.1 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3142, allocations: 0.8756 MB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/0.3147, allocations: 286.6 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.315, allocations: 120.8 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.315, allocations: 8 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.3151, allocations: 34.56 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.3151, allocations: 0 / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004725/0.3198, allocations: 1.258 MB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3198, allocations: 55.41 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3201, allocations: 229.5 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.3201, allocations: 33.7 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3203, allocations: 168.7 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/0.3203, allocations: 111 kB / 0.5706 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.3204, allocations: 53.7 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.3207, allocations: 338.8 kB / 0.571 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3209, allocations: 95.95 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3211, allocations: 126.6 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.3216, allocations: 227.3 kB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3216, allocations: 8 kB / 0.5714 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001841/0.3235, allocations: 0.545 MB / 0.572 GB, free: 9.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3235, allocations: 7.938 kB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3235, allocations: 4 kB / 0.572 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.3252, allocations: 315.1 kB / 0.5723 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3253, allocations: 23.98 kB / 0.5723 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007877/0.3332, allocations: 6.837 MB / 0.579 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.3335, allocations: 27.84 kB / 0.579 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3335, allocations: 16.06 kB / 0.579 GB, free: 1.809 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.0001723/0.3337, allocations: 142 kB / 0.5792 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.3337, allocations: 27.81 kB / 0.5792 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.3355, allocations: 0.544 MB / 0.5797 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3355, allocations: 7.984 kB / 0.5797 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3355, allocations: 0 / 0.5797 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.3356, allocations: 112.8 kB / 0.5798 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.3357, allocations: 11.94 kB / 0.5798 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3359, allocations: 8 kB / 0.5798 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/0.3359, allocations: 39.94 kB / 0.5799 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00176/0.3377, allocations: 0.5822 MB / 0.5805 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009707/0.3387, allocations: 0.6137 MB / 0.5811 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002377/0.3389, allocations: 92.47 kB / 0.5811 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3391, allocations: 174 kB / 0.5813 GB, free: 15.38 MB / 430.1 MB Notification: Performance of Backend: time 8.61e-07/0.3391, allocations: 0 / 0.5813 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3403, allocations: 0.7257 MB / 0.582 GB, free: 14.6 MB / 430.1 MB Notification: Performance of SimCode: time 0.001217/0.3416, allocations: 1.147 MB / 0.5831 GB, free: 13.39 MB / 430.1 MB Notification: Performance of Templates: time 0.01224/0.3538, allocations: 6.584 MB / 0.5896 GB, free: 6.84 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.151032497175038]