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.00133/0.00133, allocations: 107 kB / 21.18 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.001558/0.001558, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.499/1.499, allocations: 230.6 MB / 258.2 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.2283/0.2283, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.001983/0.001983, allocations: 59.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003882/0.352, allocations: 2.352 MB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3533, allocations: 0.7906 MB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3534, allocations: 0 / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3536, allocations: 59.45 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3539, allocations: 111.2 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3542, allocations: 99.86 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.3545, allocations: 350.7 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3547, allocations: 79.56 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.3549, allocations: 147.5 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3552, allocations: 155.3 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.3553, allocations: 32.05 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.3553, allocations: 35.98 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.3554, allocations: 71.7 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3555, allocations: 127.4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.356, allocations: 378.1 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.356, allocations: 0 / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.356, allocations: 3.938 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.356, allocations: 0 / 0.5665 GB, free: 15.36 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.001146/0.3571, allocations: 0.5557 MB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3572, allocations: 15.97 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3573, allocations: 48.69 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3577, allocations: 209 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3577, allocations: 20.88 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3577, allocations: 28.36 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.3583, allocations: 248.3 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3583, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3583, allocations: 12 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.3583, allocations: 8 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.3588, allocations: 229.9 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.3602, allocations: 0.7344 MB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.3607, allocations: 282.5 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.361, allocations: 128.8 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.361, allocations: 7.938 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3611, allocations: 38.55 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.3611, allocations: 0 / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004536/0.3656, allocations: 0.9572 MB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3657, allocations: 59.41 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.3659, allocations: 229.1 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3659, allocations: 29.7 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3661, allocations: 165.3 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3662, allocations: 119 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.3663, allocations: 45.7 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3664, allocations: 338.8 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3666, allocations: 91.95 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3669, allocations: 122.8 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.3673, allocations: 227.4 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3673, allocations: 4 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00184/0.3692, allocations: 0.5527 MB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3692, allocations: 4 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3692, allocations: 0 / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.3709, allocations: 319.1 kB / 0.5721 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.371, allocations: 23.98 kB / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007544/0.3786, allocations: 6.304 MB / 0.5783 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.3788, allocations: 27.81 kB / 0.5783 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.3789, allocations: 8 kB / 0.5783 GB, free: 2.59 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.0001841/0.379, allocations: 138 kB / 0.5784 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3791, allocations: 35.81 kB / 0.5785 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.3809, allocations: 0.5501 MB / 0.579 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.381, allocations: 4 kB / 0.579 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.381, allocations: 4 kB / 0.579 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.381, allocations: 3.984 kB / 0.579 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.3813, allocations: 245.1 kB / 0.5792 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3813, allocations: 3.938 kB / 0.5792 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3814, allocations: 23.98 kB / 0.5793 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.383, allocations: 307.1 kB / 0.5796 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.383, allocations: 7.984 kB / 0.5796 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007813/0.3909, allocations: 6.341 MB / 0.5858 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3909, allocations: 4 kB / 0.5858 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.3931, allocations: 0.6167 MB / 0.5864 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.3932, allocations: 35.69 kB / 0.5864 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.3932, allocations: 8.234 kB / 0.5864 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3934, allocations: 15.98 kB / 0.5864 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3936, allocations: 31.94 kB / 0.5865 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3936, allocations: 4 kB / 0.5865 GB, free: 9.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.3939, allocations: 176.5 kB / 0.5866 GB, free: 9.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3939, allocations: 0 / 0.5866 GB, free: 9.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.3944, allocations: 119.9 kB / 0.5867 GB, free: 9.426 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.0001559/0.3946, allocations: 99.45 kB / 0.5868 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3958, allocations: 0.7599 MB / 0.5876 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3958, allocations: 0 / 0.5876 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.3972, allocations: 0.7094 MB / 0.5883 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3976, allocations: 31.39 kB / 0.5883 GB, free: 7.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3988, allocations: 0.5645 MB / 0.5889 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3991, allocations: 163.8 kB / 0.589 GB, free: 6.945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.3991, allocations: 13.95 kB / 0.589 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.3992, allocations: 15.44 kB / 0.589 GB, free: 6.914 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3992, allocations: 0 / 0.589 GB, free: 6.914 MB / 430.1 MB Notification: Performance of Templates: time 0.0166/0.4158, allocations: 8.81 MB / 0.5976 GB, free: 14.15 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 -s cvode -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.537529298992013]