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.001633/0.001633, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002064/0.002064, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.475/1.475, 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.2394/0.2394, allocations: 46.9 MB / 361.1 MB, free: 4.652 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.002366/0.002366, allocations: 79.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3478, allocations: 65.99 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00418/0.352, allocations: 2.517 MB / 0.5636 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3535, allocations: 0.8451 MB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3537, allocations: 8 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3539, allocations: 55.5 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.3542, allocations: 106 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3544, allocations: 107.8 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.3548, allocations: 361.2 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.355, allocations: 68.72 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.3553, allocations: 139.5 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.3555, allocations: 163.2 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.3556, allocations: 28 kB / 0.5655 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.3557, allocations: 36 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.3557, allocations: 71.73 kB / 0.5656 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3559, allocations: 151.2 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.3563, allocations: 374.4 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3563, allocations: 0 / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3563, allocations: 0 / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3563, allocations: 8 kB / 0.5661 GB, free: 32 kB / 398.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.001211/0.3575, allocations: 0.6389 MB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3576, allocations: 8.031 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.3577, allocations: 48.64 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3581, allocations: 274.7 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3581, allocations: 16.94 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.3582, allocations: 32.34 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.3587, allocations: 253.2 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3587, allocations: 0 / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3587, allocations: 8 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3588, allocations: 8 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.3593, allocations: 230.1 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.3608, allocations: 0.8717 MB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.3614, allocations: 282.6 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3617, allocations: 124.8 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3617, allocations: 8 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3617, allocations: 34.56 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.3618, allocations: 0 / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004892/0.3666, allocations: 1.262 MB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3667, allocations: 51.41 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.367, allocations: 237.5 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.367, allocations: 29.7 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3671, allocations: 172.7 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.3672, allocations: 107.1 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3673, allocations: 45.7 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3675, allocations: 342.8 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.3677, allocations: 91.95 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.368, allocations: 130.6 kB / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.3685, allocations: 239.3 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3685, allocations: 0 / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001887/0.3704, allocations: 0.5372 MB / 0.572 GB, free: 9.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3704, allocations: 12 kB / 0.572 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3704, allocations: 0 / 0.572 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.3722, allocations: 323.1 kB / 0.5723 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3724, allocations: 23.98 kB / 0.5723 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/0.3805, allocations: 6.837 MB / 0.579 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3808, allocations: 31.88 kB / 0.579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3808, allocations: 8 kB / 0.579 GB, free: 1.855 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.0001825/0.381, allocations: 145.3 kB / 0.5791 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.3811, allocations: 31.81 kB / 0.5792 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.383, allocations: 0.54 MB / 0.5797 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.383, allocations: 4 kB / 0.5797 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.383, allocations: 3.938 kB / 0.5797 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.383, allocations: 0 / 0.5797 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.3835, allocations: 369.3 kB / 0.5801 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3835, allocations: 4 kB / 0.5801 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3836, allocations: 23.92 kB / 0.5801 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.3852, allocations: 311.3 kB / 0.5804 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.3852, allocations: 8 kB / 0.5804 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008365/0.3936, allocations: 6.902 MB / 0.5871 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3936, allocations: 0 / 0.5871 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.3955, allocations: 0.6196 MB / 0.5877 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3957, allocations: 112.8 kB / 0.5878 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3957, allocations: 4 kB / 0.5879 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3959, allocations: 15.94 kB / 0.5879 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.396, allocations: 31.95 kB / 0.5879 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.3961, allocations: 11.98 kB / 0.5879 GB, free: 8.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.3963, allocations: 170 kB / 0.5881 GB, free: 7.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3963, allocations: 0 / 0.5881 GB, free: 7.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005785/0.3968, allocations: 120 kB / 0.5882 GB, free: 7.758 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.000151/0.397, allocations: 99.19 kB / 0.5883 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3982, allocations: 0.7406 MB / 0.589 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3982, allocations: 0 / 0.589 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.3996, allocations: 0.7366 MB / 0.5897 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.3999, allocations: 26.53 kB / 0.5897 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.401, allocations: 0.5823 MB / 0.5903 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.4014, allocations: 0.7756 MB / 0.5911 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.4015, allocations: 9.969 kB / 0.5911 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4015, allocations: 15.44 kB / 0.5911 GB, free: 4.602 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4015, allocations: 0 / 0.5911 GB, free: 4.602 MB / 430.1 MB Notification: Performance of Templates: time 0.01581/0.4173, allocations: 8.427 MB / 0.5993 GB, free: 12.2 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 -s gbode -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.670769717078656]