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.001509/0.001509, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001543/0.001543, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.2384/0.2384, allocations: 46.97 MB / 361.6 MB, free: 4.117 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.002015/0.002015, allocations: 67.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004109/0.3739, allocations: 2.352 MB / 0.5641 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3755, allocations: 0.7867 MB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.3757, allocations: 4 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.3759, allocations: 59.45 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.3763, allocations: 106 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.3766, allocations: 107.8 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000416/0.377, allocations: 354.8 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3772, allocations: 72.89 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.3775, allocations: 143.5 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.3777, allocations: 159.3 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.3777, allocations: 28 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.3778, allocations: 32.05 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.61e-05/0.3779, allocations: 75.64 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.3781, allocations: 127.3 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.3786, allocations: 382.1 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3786, allocations: 4 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3786, allocations: 0 / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3786, allocations: 0 / 0.5665 GB, free: 15.4 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.001215/0.3798, allocations: 0.5557 MB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3799, allocations: 12.02 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.38, allocations: 40.7 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.3804, allocations: 217 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3805, allocations: 20.81 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.3805, allocations: 32.36 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.3811, allocations: 252.3 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3811, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.3811, allocations: 8 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3812, allocations: 8 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.3817, allocations: 225.9 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.3832, allocations: 0.7383 MB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.3837, allocations: 290.4 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.384, allocations: 120.8 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.384, allocations: 4 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3841, allocations: 38.55 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.3841, allocations: 0 / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004896/0.389, allocations: 0.9611 MB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.389, allocations: 55.41 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.3893, allocations: 229.1 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3894, allocations: 29.7 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3895, allocations: 173.3 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3896, allocations: 111 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3897, allocations: 57.7 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3899, allocations: 330.8 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.3901, allocations: 91.95 kB / 0.5709 GB, free: 10.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.3904, allocations: 122.8 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.3909, allocations: 231.3 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3909, allocations: 0 / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001979/0.3928, allocations: 0.545 MB / 0.5718 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3929, allocations: 4 kB / 0.5718 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3929, allocations: 4 kB / 0.5718 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.3948, allocations: 315.1 kB / 0.5721 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.395, allocations: 27.97 kB / 0.5721 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008178/0.4031, allocations: 6.311 MB / 0.5783 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.4034, allocations: 27.81 kB / 0.5783 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.4034, allocations: 8 kB / 0.5783 GB, free: 2.621 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.4036, allocations: 141.9 kB / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.4037, allocations: 31.81 kB / 0.5785 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.4057, allocations: 0.5501 MB / 0.579 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4057, allocations: 4 kB / 0.579 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.4057, allocations: 0 / 0.579 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4057, allocations: 0 / 0.579 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.406, allocations: 245.1 kB / 0.5792 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4061, allocations: 3.938 kB / 0.5792 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4062, allocations: 19.98 kB / 0.5793 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.4079, allocations: 319.3 kB / 0.5796 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.4079, allocations: 8 kB / 0.5796 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00847/0.4164, allocations: 6.345 MB / 0.5858 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4164, allocations: 0 / 0.5858 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.4184, allocations: 0.6128 MB / 0.5864 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.4185, allocations: 35.69 kB / 0.5864 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.4185, allocations: 4 kB / 0.5864 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4187, allocations: 11.98 kB / 0.5864 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.4189, allocations: 31.94 kB / 0.5865 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4189, allocations: 8 kB / 0.5865 GB, free: 9.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.4191, allocations: 172.4 kB / 0.5866 GB, free: 9.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4191, allocations: 0 / 0.5866 GB, free: 9.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005408/0.4196, allocations: 119.9 kB / 0.5867 GB, free: 9.469 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.0001784/0.4198, allocations: 107.5 kB / 0.5868 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.421, allocations: 0.7444 MB / 0.5876 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.421, allocations: 64 / 0.5876 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.4225, allocations: 0.7133 MB / 0.5883 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.4228, allocations: 32.36 kB / 0.5883 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.424, allocations: 0.6004 MB / 0.5889 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.4242, allocations: 167.8 kB / 0.589 GB, free: 6.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.4242, allocations: 19.44 kB / 0.5891 GB, free: 6.926 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4242, allocations: 0 / 0.5891 GB, free: 6.926 MB / 430.1 MB Notification: Performance of Templates: time 0.01182/0.436, allocations: 8.48 MB / 0.5973 GB, free: 14.45 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/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: 8.702621441014344]