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.000827/0.000827, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001902, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007083/0.0007083, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000954/0.001662, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9055/0.9055, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08062/0.9861, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.443e-06/1.443e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.19e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004061/0.004083, allocations: 4.296 MB / 249.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.006255, allocations: 1.755 MB / 251.2 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.006424, allocations: 12 kB / 251.3 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.007523, allocations: 1.061 MB / 252.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.007914, allocations: 270 kB / 252.6 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.008749, allocations: 0.7315 MB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.009185, allocations: 0.6647 MB / 254 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.009647, allocations: 463.4 kB / 254.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.01002, allocations: 427 kB / 254.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.01026, allocations: 279.2 kB / 255.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.01032, allocations: 56 kB / 255.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.0107, allocations: 295.5 kB / 255.5 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.01076, allocations: 103.6 kB / 255.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01089, allocations: 179.6 kB / 255.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.01142, allocations: 0.6422 MB / 256.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.01143, allocations: 0 / 256.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01143, allocations: 4 kB / 256.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.01144, allocations: 0 / 256.4 MB, free: 2.344 MB / 250.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.001983/0.01343, allocations: 1.452 MB / 257.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.01345, allocations: 8.625 kB / 257.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.01435, allocations: 344.2 kB / 258.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.01448, allocations: 181 kB / 258.4 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.01451, allocations: 54.38 kB / 258.4 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.01458, allocations: 76.33 kB / 258.5 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.0151, allocations: 0.5812 MB / 259.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.01512, allocations: 4.172 kB / 259.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.01515, allocations: 28.38 kB / 259.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01516, allocations: 27.92 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.01543, allocations: 221.7 kB / 259.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.01732, allocations: 1.805 MB / 261.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.01805, allocations: 0.6275 MB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.01821, allocations: 151.5 kB / 261.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/0.01827, allocations: 36.62 kB / 262 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.0183, allocations: 39.22 kB / 262 MB, free: 12.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.703e-06/0.0183, allocations: 0 / 262 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008078/0.01911, allocations: 0.5578 MB / 262.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.01914, allocations: 89.77 kB / 262.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01927, allocations: 244.7 kB / 262.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.0193, allocations: 37.7 kB / 262.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.0194, allocations: 292.4 kB / 263.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.01951, allocations: 257.7 kB / 263.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.01963, allocations: 142.6 kB / 263.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.01972, allocations: 354.7 kB / 263.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.0198, allocations: 73.97 kB / 264 MB, free: 10.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.01997, allocations: 271.9 kB / 264.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.02027, allocations: 389.2 kB / 264.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02027, allocations: 0 / 264.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000448/0.02072, allocations: 468.5 kB / 265.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.02074, allocations: 8.5 kB / 265.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02074, allocations: 8 kB / 265.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.02108, allocations: 145.5 kB / 265.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.0214, allocations: 179.7 kB / 265.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.02312, allocations: 3.033 MB / 268.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.02332, allocations: 71.5 kB / 268.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.02335, allocations: 24 kB / 268.6 MB, free: 5.547 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.0001147/0.02346, allocations: 157.6 kB / 268.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.02352, allocations: 47.91 kB / 268.8 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.02396, allocations: 415.4 kB / 269.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02397, allocations: 8 kB / 269.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02397, allocations: 3.938 kB / 269.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.02398, allocations: 11.92 kB / 269.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.02479, allocations: 0.7707 MB / 270 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0248, allocations: 0 / 270 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.02503, allocations: 115.9 kB / 270.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.02507, allocations: 47.58 kB / 270.1 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.02534, allocations: 133.8 kB / 270.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.02537, allocations: 15.98 kB / 270.3 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.02652, allocations: 2.647 MB / 272.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02652, allocations: 0 / 272.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.02703, allocations: 0.6174 MB / 273.6 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.02706, allocations: 12 kB / 273.6 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.02721, allocations: 23.92 kB / 273.6 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.02728, allocations: 60.59 kB / 273.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.0273, allocations: 12 kB / 273.7 MB, free: 220 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.748e-05/0.02736, allocations: 82.77 kB / 273.7 MB, free: 140 kB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02736, allocations: 0 / 273.7 MB, free: 140 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.0278, allocations: 223.6 kB / 274 MB, free: 15.91 MB / 282.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.0001696/0.02797, allocations: 144.2 kB / 274.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.02849, allocations: 0.6186 MB / 274.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.02851, allocations: 8 kB / 274.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.02881, allocations: 496.3 kB / 275.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.02912, allocations: 184.2 kB / 275.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.03393, allocations: 1.026 MB / 276.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.989e-05/0.03402, allocations: 140.8 kB / 276.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.0342, allocations: 76.38 kB / 276.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.03437, allocations: 123.3 kB / 276.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03437, allocations: 0 / 276.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of Templates: time 0.008552/0.04292, allocations: 7.117 MB / 283.9 MB, free: 5.934 MB / 282.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.699405463412404]