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.001924/0.001924, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002316/0.002316, allocations: 212.6 kB / 24.49 MB, free: 3.934 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 / 258.3 MB, free: 7.785 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.2409/0.2409, allocations: 46.96 MB / 361.6 MB, free: 4.031 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+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.002017/0.002017, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003798/0.3162, allocations: 2.345 MB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3176, allocations: 0.7906 MB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3177, allocations: 4 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.3179, allocations: 59.45 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.3182, allocations: 107.2 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3184, allocations: 99.81 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.3188, allocations: 361.7 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3189, allocations: 71.58 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.3192, allocations: 147.5 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3194, allocations: 159.3 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.3195, allocations: 28.05 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.3195, allocations: 32 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.3196, allocations: 75.69 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3197, allocations: 127.3 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.3201, allocations: 378.1 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3201, allocations: 3.938 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3201, allocations: 0 / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3201, allocations: 0 / 0.5665 GB, free: 15.39 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.001136/0.3213, allocations: 0.5635 MB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3213, allocations: 12.03 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3215, allocations: 40.7 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3218, allocations: 213 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3218, allocations: 16.88 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.3219, allocations: 28.31 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.3224, allocations: 256.3 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3224, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3225, allocations: 8 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3225, allocations: 12 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.323, allocations: 229.9 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.3243, allocations: 0.7344 MB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.3249, allocations: 284.1 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.3251, allocations: 124.8 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.3252, allocations: 11.92 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3252, allocations: 38.55 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.3252, allocations: 0 / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004935/0.3301, allocations: 0.9611 MB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.3302, allocations: 55.41 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3304, allocations: 229.1 kB / 0.5702 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3304, allocations: 29.7 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3306, allocations: 173.3 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.3307, allocations: 107 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3308, allocations: 53.7 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3309, allocations: 330.8 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3311, allocations: 95.94 kB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.3314, allocations: 126.8 kB / 0.571 GB, free: 10.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.3319, allocations: 227.4 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3319, allocations: 0 / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001937/0.3338, allocations: 0.5489 MB / 0.5718 GB, free: 9.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3338, allocations: 4 kB / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3338, allocations: 4 kB / 0.5718 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.3357, allocations: 315.1 kB / 0.5721 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3359, allocations: 27.97 kB / 0.5721 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007906/0.3438, allocations: 6.293 MB / 0.5783 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.344, allocations: 23.88 kB / 0.5783 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.344, allocations: 8.25 kB / 0.5783 GB, free: 2.625 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.0001812/0.3442, allocations: 145.8 kB / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.3443, allocations: 27.81 kB / 0.5785 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.3463, allocations: 0.554 MB / 0.579 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3463, allocations: 0 / 0.579 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3463, allocations: 3.938 kB / 0.579 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.3463, allocations: 31.73 kB / 0.579 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.3463, allocations: 4 kB / 0.579 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.3466, allocations: 19.98 kB / 0.5791 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3467, allocations: 39.91 kB / 0.5791 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001858/0.3485, allocations: 0.5754 MB / 0.5797 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009407/0.3495, allocations: 0.606 MB / 0.5803 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002557/0.3497, allocations: 99.92 kB / 0.5803 GB, free: 476 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.3499, allocations: 172.5 kB / 0.5805 GB, free: 300 kB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.3499, allocations: 0 / 0.5805 GB, free: 300 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.3513, allocations: 0.7272 MB / 0.5812 GB, free: 15.51 MB / 430.1 MB Notification: Performance of SimCode: time 0.001234/0.3525, allocations: 1.136 MB / 0.5823 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Templates: time 0.01247/0.365, allocations: 7.064 MB / 0.5892 GB, free: 7.312 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/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.462791184996604]