Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001406/0.001406, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001587/0.001587, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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 0.8687/0.8687, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.425e-05, allocations: 5.266 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005616/0.00564, allocations: 4.179 MB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.008798, allocations: 1.677 MB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.009087, allocations: 8 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.01146, allocations: 1.069 MB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.01201, allocations: 254.1 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.01298, allocations: 0.7433 MB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.01345, allocations: 0.6297 MB / 281.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005124/0.01396, allocations: 431.4 kB / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.01435, allocations: 387.2 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.0146, allocations: 259.3 kB / 282.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.01466, allocations: 52 kB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.01505, allocations: 287.5 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.01512, allocations: 131.5 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.01525, allocations: 211.4 kB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.01588, allocations: 0.6889 MB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01588, allocations: 0 / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01588, allocations: 4 kB / 283.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01589, allocations: 0 / 283.9 MB, free: 6.402 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002084/0.01797, allocations: 1.264 MB / 285.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01801, allocations: 15.98 kB / 285.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.01877, allocations: 296 kB / 285.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.01891, allocations: 188.4 kB / 285.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.01895, allocations: 50.38 kB / 285.7 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.01902, allocations: 68.38 kB / 285.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.01971, allocations: 0.5819 MB / 286.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.01972, allocations: 192 / 286.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.01977, allocations: 32.38 kB / 286.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.01978, allocations: 23.94 kB / 286.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.02025, allocations: 319.5 kB / 286.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.02216, allocations: 1.805 MB / 288.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.02281, allocations: 0.567 MB / 289.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.023, allocations: 157.3 kB / 289.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.02311, allocations: 36.62 kB / 289.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.02313, allocations: 45.98 kB / 289.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.823e-06/0.02314, allocations: 4 kB / 289.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006512/0.02379, allocations: 473.6 kB / 289.8 MB, free: 312 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.02383, allocations: 115.5 kB / 289.9 MB, free: 172 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09617/0.12, allocations: 289.1 kB / 290.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.1201, allocations: 36.17 kB / 290.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1202, allocations: 316.8 kB / 290.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1203, allocations: 237.3 kB / 290.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1204, allocations: 130.6 kB / 290.9 MB, free: 19.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.1205, allocations: 0.5182 MB / 291.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1207, allocations: 113.1 kB / 291.5 MB, free: 19.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.1209, allocations: 247.3 kB / 291.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1213, allocations: 354.1 kB / 292.1 MB, free: 19.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1213, allocations: 0 / 292.1 MB, free: 19.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006078/0.1219, allocations: 473.6 kB / 292.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.122, allocations: 11.08 kB / 292.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.122, allocations: 2.438 kB / 292.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.122, allocations: 4.188 kB / 292.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.1224, allocations: 160.9 kB / 292.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1224, allocations: 4.844 kB / 292.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1226, allocations: 66.39 kB / 292.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1227, allocations: 27.55 kB / 292.8 MB, free: 18.97 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.1228, allocations: 190 kB / 293 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.1228, allocations: 61.22 kB / 293.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.1234, allocations: 434.7 kB / 293.5 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1234, allocations: 12.7 kB / 293.5 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1234, allocations: 1.938 kB / 293.5 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1235, allocations: 4.188 kB / 293.5 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.1246, allocations: 0.9852 MB / 294.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1246, allocations: 2.125 kB / 294.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.1249, allocations: 120.9 kB / 294.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1249, allocations: 5.938 kB / 294.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.125, allocations: 17.98 kB / 294.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.125, allocations: 2.656 kB / 294.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.125, allocations: 2.578 kB / 294.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.1257, allocations: 0.7611 MB / 295.4 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1257, allocations: 44.58 kB / 295.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1258, allocations: 21.61 kB / 295.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1259, allocations: 19.88 kB / 295.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.126, allocations: 43.41 kB / 295.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.126, allocations: 19.25 kB / 295.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1261, allocations: 203.5 kB / 295.8 MB, free: 17.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1261, allocations: 0 / 295.8 MB, free: 17.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004211/0.1266, allocations: 188.7 kB / 295.9 MB, free: 17.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/0.1268, allocations: 145.9 kB / 296.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1273, allocations: 360.8 kB / 296.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1273, allocations: 0 / 296.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1275, allocations: 197.8 kB / 296.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1278, allocations: 57.66 kB / 296.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1292, allocations: 0.9608 MB / 297.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.228e-05/0.1293, allocations: 123.3 kB / 297.8 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.1295, allocations: 79.25 kB / 297.8 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1296, allocations: 47.39 kB / 297.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1296, allocations: 0 / 297.9 MB, free: 17.24 MB / 266.7 MB Notification: Performance of Templates: time 0.008113/0.1377, allocations: 5.54 MB / 303.4 MB, free: 16.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.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: 2.7356031802482903]