Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009539/0.0009539, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009936/0.0009936, allocations: 170 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9676/0.9676, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 32.81 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.696e-05, allocations: 3.672 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002588/0.002605, allocations: 2.49 MB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.003586, allocations: 0.8269 MB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.003685, allocations: 4 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.003837, allocations: 63.44 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.00404, allocations: 115 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.004222, allocations: 99.83 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.004462, allocations: 367.3 kB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.004593, allocations: 74.78 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.004821, allocations: 211.5 kB / 327.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.004944, allocations: 119.7 kB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.004977, allocations: 28 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.406e-05/0.005031, allocations: 32 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.005073, allocations: 71.72 kB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.005148, allocations: 103.8 kB / 327.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.005377, allocations: 243.1 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005379, allocations: 7.984 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00538, allocations: 4 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005384, allocations: 0 / 328 MB, free: 4.883 MB / 298.7 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.0005944/0.005978, allocations: 0.536 MB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.006006, allocations: 8.031 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.006112, allocations: 48.89 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.006288, allocations: 184.7 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.006305, allocations: 20.88 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.006329, allocations: 24.38 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.00654, allocations: 177.3 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.00655, allocations: 8.188 kB / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.006566, allocations: 8.375 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006576, allocations: 11.94 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.006742, allocations: 75.39 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.007424, allocations: 0.5432 MB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.007614, allocations: 165.6 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.007689, allocations: 68.83 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.007713, allocations: 7.984 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.007735, allocations: 38.56 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.007737, allocations: 0 / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001682/0.009419, allocations: 0.742 MB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.009454, allocations: 55.41 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.009599, allocations: 217 kB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.009618, allocations: 29.7 kB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.009689, allocations: 153.2 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.009744, allocations: 111 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.009805, allocations: 53.67 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.009898, allocations: 342.7 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.009939, allocations: 27.98 kB / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.01, allocations: 63.88 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.01011, allocations: 103.3 kB / 331.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.01011, allocations: 4 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005851/0.0107, allocations: 378.2 kB / 332.2 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01071, allocations: 8 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01072, allocations: 0 / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.01173, allocations: 455 kB / 332.7 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.0118, allocations: 27.92 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.01495, allocations: 5.34 MB / 338 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.01503, allocations: 27.83 kB / 338 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.01504, allocations: 8 kB / 338.1 MB, free: 10.3 MB / 314.7 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 8.328e-05/0.01513, allocations: 121.8 kB / 338.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.01516, allocations: 27.92 kB / 338.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.01575, allocations: 396.4 kB / 338.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01575, allocations: 4 kB / 338.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01575, allocations: 0 / 338.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01576, allocations: 0 / 338.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01593, allocations: 177.7 kB / 338.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01594, allocations: 0 / 338.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.01598, allocations: 19.92 kB / 338.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009612/0.01694, allocations: 459 kB / 339.2 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.01695, allocations: 7.938 kB / 339.2 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.01987, allocations: 5.38 MB / 344.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01987, allocations: 3.938 kB / 344.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.02046, allocations: 458.3 kB / 345.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.02048, allocations: 23.8 kB / 345.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.02049, allocations: 4.25 kB / 345.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.02057, allocations: 19.98 kB / 345.1 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.02063, allocations: 35.94 kB / 345.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.02064, allocations: 4 kB / 345.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.063e-05/0.02069, allocations: 74.77 kB / 345.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02069, allocations: 0 / 345.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.02097, allocations: 131.8 kB / 345.4 MB, free: 2.555 MB / 314.7 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 8.265e-05/0.02105, allocations: 80.42 kB / 345.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.02148, allocations: 0.6279 MB / 346.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.02149, allocations: 4 kB / 346.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.02197, allocations: 0.7023 MB / 346.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.02213, allocations: 25.8 kB / 346.8 MB, free: 1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.02285, allocations: 0.5209 MB / 347.3 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.0229, allocations: 108.5 kB / 347.4 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.716e-05/0.02294, allocations: 9.906 kB / 347.4 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.023, allocations: 67.36 kB / 347.5 MB, free: 248 kB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.023, allocations: 4 kB / 347.5 MB, free: 244 kB / 314.7 MB Notification: Performance of Templates: time 0.009379/0.03238, allocations: 9.086 MB / 356.6 MB, free: 7.211 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.224889360833913]