Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.0009432/0.0009432, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001688/0.001688, allocations: 163.2 kB / 24.91 MB, free: 8.77 MB / 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.9856/0.9856, allocations: 177 MB / 205.2 MB, free: 5.402 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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 273.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.18e-05, allocations: 2.312 kB / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003721/0.003733, allocations: 4.257 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.005633, allocations: 1.727 MB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.005797, allocations: 12 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.006998, allocations: 1.081 MB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.007366, allocations: 269.9 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.008234, allocations: 0.7198 MB / 281.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.008652, allocations: 0.6607 MB / 282.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.009142, allocations: 495.3 kB / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.009509, allocations: 407 kB / 283 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.009851, allocations: 291.2 kB / 283.3 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.009919, allocations: 56 kB / 283.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.01038, allocations: 287.5 kB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.01046, allocations: 147.4 kB / 283.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.01064, allocations: 223.4 kB / 284 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009439/0.01158, allocations: 0.7084 MB / 284.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.01158, allocations: 0 / 284.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01158, allocations: 0 / 284.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.01159, allocations: 0 / 284.7 MB, free: 5.773 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002444/0.01403, allocations: 1.237 MB / 286 MB, free: 4.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01407, allocations: 11.98 kB / 286 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.01538, allocations: 356.2 kB / 286.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.01552, allocations: 180.9 kB / 286.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.01556, allocations: 58.38 kB / 286.6 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/0.01565, allocations: 76.33 kB / 286.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.01629, allocations: 0.5656 MB / 287.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.01631, allocations: 192 / 287.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.01635, allocations: 32.38 kB / 287.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.01637, allocations: 23.94 kB / 287.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.01672, allocations: 228.9 kB / 287.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.01906, allocations: 1.801 MB / 289.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009052/0.01996, allocations: 0.612 MB / 289.9 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.02018, allocations: 151.5 kB / 290 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/0.02025, allocations: 32.62 kB / 290.1 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.02028, allocations: 47.16 kB / 290.1 MB, free: 188 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.02028, allocations: 0 / 290.1 MB, free: 188 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.125/0.1453, allocations: 0.5425 MB / 290.7 MB, free: 20.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1453, allocations: 119.3 kB / 290.8 MB, free: 20.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1455, allocations: 248.1 kB / 291 MB, free: 20.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1455, allocations: 40.61 kB / 291.1 MB, free: 20.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1456, allocations: 297.3 kB / 291.3 MB, free: 20.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1458, allocations: 254.3 kB / 291.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1459, allocations: 133.7 kB / 291.7 MB, free: 20.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.146, allocations: 354.6 kB / 292.1 MB, free: 19.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1461, allocations: 76.97 kB / 292.1 MB, free: 19.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.1463, allocations: 266.6 kB / 292.4 MB, free: 19.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.1468, allocations: 381.8 kB / 292.8 MB, free: 19.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1468, allocations: 2.188 kB / 292.8 MB, free: 19.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006031/0.1474, allocations: 466.6 kB / 293.2 MB, free: 19.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1474, allocations: 8.469 kB / 293.2 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1474, allocations: 5.531 kB / 293.3 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.1478, allocations: 147.9 kB / 293.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.1482, allocations: 157.9 kB / 293.6 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.1496, allocations: 3.027 MB / 296.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.1498, allocations: 74.22 kB / 296.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.1498, allocations: 29.12 kB / 296.7 MB, free: 16.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.15, allocations: 157.3 kB / 296.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.15, allocations: 51.48 kB / 296.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.1506, allocations: 414.5 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.1506, allocations: 8.156 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1506, allocations: 3.141 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1506, allocations: 10.88 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.1516, allocations: 0.77 MB / 298.1 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1516, allocations: 0 / 298.1 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.1518, allocations: 108.8 kB / 298.2 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/0.1521, allocations: 147.2 kB / 298.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.1522, allocations: 16.48 kB / 298.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.1532, allocations: 2.639 MB / 301 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1532, allocations: 1.906 kB / 301 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.1538, allocations: 0.6163 MB / 301.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1538, allocations: 45.27 kB / 301.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.1538, allocations: 19.39 kB / 301.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.154, allocations: 25.7 kB / 301.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.1541, allocations: 51.64 kB / 301.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1541, allocations: 15.3 kB / 301.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.465e-05/0.1542, allocations: 82.81 kB / 301.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1542, allocations: 1.188 kB / 301.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005431/0.1547, allocations: 222.5 kB / 302.1 MB, free: 13.74 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.1549, allocations: 140.1 kB / 302.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.1555, allocations: 0.6124 MB / 302.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.1555, allocations: 3.938 kB / 302.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.1558, allocations: 446.9 kB / 303.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.1561, allocations: 43.39 kB / 303.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1574, allocations: 0.96 MB / 304.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.1575, allocations: 139.2 kB / 304.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1577, allocations: 74.41 kB / 304.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.1578, allocations: 116.9 kB / 304.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1578, allocations: 4.188 kB / 304.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Templates: time 0.008739/0.1665, allocations: 6.753 MB / 311.3 MB, free: 10.62 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.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.7691813381388783]