Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.001012/0.001012, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001595/0.001595, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8575/0.8575, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 251 MB, free: 3.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.854e-05, allocations: 6.312 kB / 251.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003803/0.003822, allocations: 4.259 MB / 255.3 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.006247, allocations: 1.651 MB / 257 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.006494, allocations: 12 kB / 257 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.007801, allocations: 1.073 MB / 258 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.008255, allocations: 269.9 kB / 258.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009117/0.009167, allocations: 0.7356 MB / 259 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.009617, allocations: 0.6607 MB / 259.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.01014, allocations: 465.3 kB / 260.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.01049, allocations: 411 kB / 260.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.01076, allocations: 283.2 kB / 260.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.01081, allocations: 56 kB / 260.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.01116, allocations: 259.5 kB / 261.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.01123, allocations: 139.4 kB / 261.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.01139, allocations: 231.3 kB / 261.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.01198, allocations: 0.6928 MB / 262.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01199, allocations: 0 / 262.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01199, allocations: 0 / 262.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01199, allocations: 0 / 262.2 MB, free: 8.469 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.002266/0.01426, allocations: 1.296 MB / 263.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.0143, allocations: 11.98 kB / 263.5 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000849/0.01515, allocations: 359.9 kB / 263.9 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.01529, allocations: 179.8 kB / 264 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.01533, allocations: 58.38 kB / 264.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.01542, allocations: 76.31 kB / 264.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.01618, allocations: 0.6327 MB / 264.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.0162, allocations: 4.172 kB / 264.8 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.01624, allocations: 32.38 kB / 264.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.01626, allocations: 23.88 kB / 264.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.01676, allocations: 355.5 kB / 265.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.01903, allocations: 2.194 MB / 267.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.02002, allocations: 0.7229 MB / 268.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.0203, allocations: 201.2 kB / 268.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.02036, allocations: 20.64 kB / 268.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.02039, allocations: 42.05 kB / 268.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.155e-06/0.02039, allocations: 4 kB / 268.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001184/0.02158, allocations: 0.7351 MB / 269.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.02163, allocations: 115.5 kB / 269.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.02183, allocations: 308.1 kB / 269.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.02186, allocations: 37.7 kB / 269.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.022, allocations: 351 kB / 269.9 MB, free: 468 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.02212, allocations: 261.9 kB / 270.2 MB, free: 204 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.02227, allocations: 148.3 kB / 270.3 MB, free: 48 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004089/0.02268, allocations: 0.5235 MB / 270.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.02286, allocations: 117.9 kB / 271 MB, free: 15.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.02315, allocations: 358.9 kB / 271.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.02363, allocations: 489 kB / 271.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.02363, allocations: 4 kB / 271.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007483/0.02438, allocations: 0.6488 MB / 272.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.0244, allocations: 12.09 kB / 272.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.02441, allocations: 7.938 kB / 272.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.02482, allocations: 159.2 kB / 272.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.02515, allocations: 155.8 kB / 272.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.02723, allocations: 4.458 MB / 277.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.02743, allocations: 75.5 kB / 277.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.02746, allocations: 31.94 kB / 277.3 MB, free: 8.609 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.0001431/0.02761, allocations: 208.2 kB / 277.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.02795, allocations: 67.77 kB / 277.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.02861, allocations: 0.5517 MB / 278.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.02861, allocations: 12 kB / 278.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.02862, allocations: 0 / 278.2 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02862, allocations: 3.984 kB / 278.2 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.02984, allocations: 1.134 MB / 279.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.02984, allocations: 7.938 kB / 279.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.03009, allocations: 107.8 kB / 279.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.03042, allocations: 155.2 kB / 279.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.03045, allocations: 15.98 kB / 279.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.03209, allocations: 3.872 MB / 283.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.03209, allocations: 0 / 283.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.03294, allocations: 0.8889 MB / 284.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.03297, allocations: 51.53 kB / 284.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.03301, allocations: 16 kB / 284.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.03318, allocations: 19.98 kB / 284.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.03327, allocations: 56.55 kB / 284.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.0333, allocations: 16 kB / 284.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.03341, allocations: 209.1 kB / 284.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03341, allocations: 0 / 284.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007523/0.03416, allocations: 223.5 kB / 284.9 MB, free: 0.6523 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.0001903/0.03435, allocations: 151.1 kB / 285.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008133/0.03516, allocations: 0.7975 MB / 285.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.03516, allocations: 4.062 kB / 285.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.03554, allocations: 0.586 MB / 286.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.03585, allocations: 56.36 kB / 286.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.03727, allocations: 1.042 MB / 287.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.03736, allocations: 136.8 kB / 287.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.03755, allocations: 84.31 kB / 287.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.03765, allocations: 48.48 kB / 287.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03765, allocations: 0 / 287.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.00896/0.04661, allocations: 6.535 MB / 294.3 MB, free: 7.105 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.83630506740883]