Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001822/0.001822, allocations: 75.75 kB / 21.25 MB, free: 0.5312 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.002244/0.002244, allocations: 160.9 kB / 24.5 MB, free: 3.703 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.511/1.511, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 79.88 kB / 443.1 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3404, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003498/0.3439, allocations: 2.366 MB / 0.4996 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3452, allocations: 0.7933 MB / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.3454, allocations: 6.312 kB / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.3456, allocations: 52.03 kB / 0.5004 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.3458, allocations: 106.1 kB / 0.5005 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.3461, allocations: 110.5 kB / 0.5006 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.3464, allocations: 352.5 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3466, allocations: 63.02 kB / 0.501 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.3468, allocations: 147.7 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.347, allocations: 137.3 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.347, allocations: 28.72 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.3471, allocations: 36.78 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.3471, allocations: 75.12 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3473, allocations: 129.9 kB / 0.5015 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.3476, allocations: 382.5 kB / 0.5019 GB, free: 26.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3476, allocations: 0 / 0.5019 GB, free: 26.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3476, allocations: 0 / 0.5019 GB, free: 26.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3476, allocations: 0 / 0.5019 GB, free: 26.94 MB / 446.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.0009336/0.3485, allocations: 0.5626 MB / 0.5024 GB, free: 26.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3486, allocations: 9.719 kB / 0.5025 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3487, allocations: 39.73 kB / 0.5025 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.349, allocations: 215.9 kB / 0.5027 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.349, allocations: 21.62 kB / 0.5027 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3491, allocations: 24 kB / 0.5027 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.3495, allocations: 250.9 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3495, allocations: 0 / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3495, allocations: 15.03 kB / 0.503 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3495, allocations: 6.094 kB / 0.503 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.3499, allocations: 231.6 kB / 0.5032 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.3511, allocations: 0.7345 MB / 0.5039 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3516, allocations: 287.4 kB / 0.5042 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3518, allocations: 128.8 kB / 0.5043 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.3518, allocations: 3.438 kB / 0.5043 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3519, allocations: 41.86 kB / 0.5044 GB, free: 25.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.472e-06/0.3519, allocations: 0 / 0.5044 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.004117/0.356, allocations: 0.959 MB / 0.5053 GB, free: 25.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.356, allocations: 54.44 kB / 0.5054 GB, free: 25.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3562, allocations: 229.2 kB / 0.5056 GB, free: 24.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3562, allocations: 29.7 kB / 0.5056 GB, free: 24.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.3563, allocations: 175.3 kB / 0.5058 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.3564, allocations: 108.4 kB / 0.5059 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.3564, allocations: 54.22 kB / 0.5059 GB, free: 24.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.3565, allocations: 337.1 kB / 0.5063 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.3567, allocations: 99.47 kB / 0.5063 GB, free: 24.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3569, allocations: 119.8 kB / 0.5065 GB, free: 24.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.3573, allocations: 232.9 kB / 0.5067 GB, free: 24.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3573, allocations: 6.719 kB / 0.5067 GB, free: 24.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001607/0.3589, allocations: 0.5391 MB / 0.5072 GB, free: 23.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3589, allocations: 6.188 kB / 0.5072 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.359, allocations: 4 kB / 0.5072 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.3605, allocations: 311.5 kB / 0.5075 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3606, allocations: 25.72 kB / 0.5075 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.366, allocations: 6.298 MB / 0.5137 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3662, allocations: 25.92 kB / 0.5137 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3662, allocations: 21.3 kB / 0.5137 GB, free: 18.1 MB / 446.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.0001285/0.3663, allocations: 138.3 kB / 0.5139 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.3664, allocations: 28.41 kB / 0.5139 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.368, allocations: 0.5498 MB / 0.5144 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.368, allocations: 4 kB / 0.5144 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.368, allocations: 0 / 0.5144 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.368, allocations: 3.188 kB / 0.5144 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.3684, allocations: 246.4 kB / 0.5147 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3684, allocations: 3.938 kB / 0.5147 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3685, allocations: 20.17 kB / 0.5147 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.37, allocations: 315.6 kB / 0.515 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.37, allocations: 5.125 kB / 0.515 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005884/0.3759, allocations: 6.348 MB / 0.5212 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3759, allocations: 0 / 0.5212 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3776, allocations: 0.6132 MB / 0.5218 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.3776, allocations: 37.88 kB / 0.5218 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3776, allocations: 5.406 kB / 0.5219 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3778, allocations: 12.62 kB / 0.5219 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.378, allocations: 32.11 kB / 0.5219 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.378, allocations: 9.656 kB / 0.5219 GB, free: 11.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3781, allocations: 166.5 kB / 0.5221 GB, free: 11.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3781, allocations: 0 / 0.5221 GB, free: 11.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005725/0.3787, allocations: 126.3 kB / 0.5222 GB, free: 11.35 MB / 446.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 9.653e-05/0.3788, allocations: 104 kB / 0.5223 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009524/0.3798, allocations: 0.7504 MB / 0.523 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3798, allocations: 0 / 0.523 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3809, allocations: 0.7156 MB / 0.5237 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3812, allocations: 34 kB / 0.5237 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009255/0.3821, allocations: 0.563 MB / 0.5243 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.3823, allocations: 169 kB / 0.5245 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.3824, allocations: 11.91 kB / 0.5245 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3824, allocations: 13.7 kB / 0.5245 GB, free: 9.684 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3824, allocations: 1.031 kB / 0.5245 GB, free: 9.684 MB / 446.1 MB Notification: Performance of Templates: time 0.01711/0.3995, allocations: 8.442 MB / 0.5327 GB, free: 8.648 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.796674991026521]