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.00808/0.00808, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.002036/0.002036, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.497/1.497, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2318/0.2318, allocations: 46.93 MB / 362.3 MB, free: 4.184 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.002396/0.002396, allocations: 87.84 kB / 0.4982 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3578, allocations: 66.07 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004398/0.3622, allocations: 2.524 MB / 0.5652 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3639, allocations: 0.8489 MB / 0.566 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.364, allocations: 0 / 0.566 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.3643, allocations: 63.44 kB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3646, allocations: 107.2 kB / 0.5662 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3649, allocations: 99.81 kB / 0.5663 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.3653, allocations: 354.8 kB / 0.5666 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3655, allocations: 76.55 kB / 0.5667 GB, free: 168 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.3658, allocations: 143.5 kB / 0.5668 GB, free: 24 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.366, allocations: 163.4 kB / 0.567 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.3661, allocations: 28 kB / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.3661, allocations: 32 kB / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.3662, allocations: 75.69 kB / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3664, allocations: 151.2 kB / 0.5673 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.367, allocations: 381.1 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.367, allocations: 3.938 kB / 0.5676 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.367, allocations: 0 / 0.5676 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.367, allocations: 0 / 0.5676 GB, free: 15.2 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.001311/0.3683, allocations: 0.5596 MB / 0.5682 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.3684, allocations: 12.03 kB / 0.5682 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3686, allocations: 40.7 kB / 0.5682 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3691, allocations: 209 kB / 0.5684 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3691, allocations: 20.88 kB / 0.5684 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.3691, allocations: 24.38 kB / 0.5685 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/0.3698, allocations: 252.3 kB / 0.5687 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3699, allocations: 0 / 0.5687 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.3699, allocations: 12 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3699, allocations: 4 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.3705, allocations: 237.9 kB / 0.5689 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3721, allocations: 0.843 MB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.3727, allocations: 290.1 kB / 0.57 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.373, allocations: 120.8 kB / 0.5702 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.373, allocations: 7.938 kB / 0.5702 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3731, allocations: 38.55 kB / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.272e-06/0.3731, allocations: 0 / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00445/0.3775, allocations: 0.9606 MB / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3776, allocations: 55.41 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3778, allocations: 229.1 kB / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3779, allocations: 33.7 kB / 0.5714 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.378, allocations: 173.3 kB / 0.5716 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.3781, allocations: 107.1 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.3782, allocations: 57.64 kB / 0.5718 GB, free: 10.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3784, allocations: 330.8 kB / 0.5721 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3786, allocations: 95.95 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3789, allocations: 118.8 kB / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.3794, allocations: 235.3 kB / 0.5725 GB, free: 9.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3794, allocations: 0 / 0.5725 GB, free: 9.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00192/0.3813, allocations: 0.545 MB / 0.573 GB, free: 9.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3813, allocations: 4 kB / 0.573 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3813, allocations: 0 / 0.573 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.383, allocations: 311.1 kB / 0.5733 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3832, allocations: 27.98 kB / 0.5734 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.3914, allocations: 6.453 MB / 0.5797 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.3917, allocations: 27.86 kB / 0.5797 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3917, allocations: 12 kB / 0.5797 GB, free: 2.117 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.0001895/0.3919, allocations: 141.7 kB / 0.5798 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.392, allocations: 27.81 kB / 0.5799 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.3938, allocations: 0.5502 MB / 0.5804 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3938, allocations: 7.938 kB / 0.5804 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3938, allocations: 7.938 kB / 0.5804 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3938, allocations: 3.984 kB / 0.5804 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.3943, allocations: 328.4 kB / 0.5807 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3943, allocations: 0 / 0.5807 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3944, allocations: 19.97 kB / 0.5808 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.3961, allocations: 319.1 kB / 0.5811 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3961, allocations: 4 kB / 0.5811 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008353/0.4044, allocations: 6.492 MB / 0.5874 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4044, allocations: 0 / 0.5874 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.4064, allocations: 0.6167 MB / 0.588 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.4064, allocations: 39.69 kB / 0.588 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.4064, allocations: 4 kB / 0.5881 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.4066, allocations: 11.98 kB / 0.5881 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4068, allocations: 31.94 kB / 0.5881 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.4068, allocations: 8 kB / 0.5881 GB, free: 8.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.407, allocations: 169.2 kB / 0.5883 GB, free: 8.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.407, allocations: 0 / 0.5883 GB, free: 8.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.4075, allocations: 123.9 kB / 0.5884 GB, free: 8.664 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.0001388/0.4077, allocations: 107.2 kB / 0.5885 GB, free: 8.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.4089, allocations: 0.7444 MB / 0.5892 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4089, allocations: 0 / 0.5892 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4102, allocations: 0.7172 MB / 0.5899 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.4106, allocations: 28.48 kB / 0.5899 GB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4117, allocations: 0.5896 MB / 0.5905 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.4122, allocations: 0.7756 MB / 0.5913 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.4122, allocations: 15.44 kB / 0.5913 GB, free: 5.512 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4122, allocations: 0 / 0.5913 GB, free: 5.512 MB / 430.1 MB Notification: Performance of Templates: time 0.01218/0.4244, allocations: 8.368 MB / 0.5995 GB, free: 13.14 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/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-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: 8.607119608903304]