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.001736/0.001736, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002126/0.002126, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002017/0.002017, allocations: 63.91 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2354, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.0057/0.2411, allocations: 3.923 MB / 435.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2442, allocations: 1.623 MB / 437.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2444, allocations: 15.94 kB / 437.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.2468, allocations: 0.9492 MB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.2474, allocations: 262.2 kB / 438.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2491, allocations: 0.7272 MB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.2498, allocations: 0.6338 MB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.2506, allocations: 461.1 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.251, allocations: 278.9 kB / 440.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.2514, allocations: 314.6 kB / 440.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.2515, allocations: 56 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.252, allocations: 283.7 kB / 441.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.2521, allocations: 139.5 kB / 441.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.2524, allocations: 266.7 kB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2536, allocations: 0.9869 MB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2536, allocations: 0 / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2536, allocations: 3.938 kB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2536, allocations: 0 / 442.5 MB, free: 11.62 MB / 350.1 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.003656/0.2573, allocations: 1.207 MB / 443.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2573, allocations: 11.98 kB / 443.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.2587, allocations: 200.4 kB / 443.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.2589, allocations: 192.7 kB / 444.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.259, allocations: 54.38 kB / 444.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.2591, allocations: 72.38 kB / 444.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.2605, allocations: 0.7914 MB / 445 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.2606, allocations: 11.95 kB / 445 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.2606, allocations: 28 kB / 445.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.2606, allocations: 20 kB / 445.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2622, allocations: 0.6649 MB / 445.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.2663, allocations: 2.187 MB / 447.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.2683, allocations: 0.8122 MB / 448.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.2689, allocations: 303.4 kB / 449.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.269, allocations: 28.62 kB / 449.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.269, allocations: 39.5 kB / 449.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.269, allocations: 3.938 kB / 449.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002655/0.2717, allocations: 0.9871 MB / 450.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.2718, allocations: 115.5 kB / 450.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.2721, allocations: 256.8 kB / 450.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.2721, allocations: 33.7 kB / 450.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.2723, allocations: 316.3 kB / 450.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.2725, allocations: 253.8 kB / 451.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.2727, allocations: 138.6 kB / 451.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2729, allocations: 350.7 kB / 451.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.2734, allocations: 237.8 kB / 451.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.2741, allocations: 408 kB / 452.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2753, allocations: 0.6337 MB / 452.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2753, allocations: 4 kB / 452.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001721/0.277, allocations: 0.8346 MB / 453.6 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2771, allocations: 8 kB / 453.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2771, allocations: 4 kB / 453.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.2775, allocations: 133.7 kB / 453.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.2781, allocations: 155.8 kB / 453.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.2819, allocations: 3.512 MB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.2824, allocations: 87.59 kB / 457.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.2824, allocations: 35.94 kB / 457.6 MB, free: 11.96 MB / 366.1 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.0002805/0.2827, allocations: 201.8 kB / 457.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2828, allocations: 39.77 kB / 457.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2844, allocations: 0.7375 MB / 458.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2844, allocations: 4 kB / 458.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2844, allocations: 7.984 kB / 458.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2845, allocations: 3.984 kB / 458.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.287, allocations: 1.301 MB / 459.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.287, allocations: 0 / 459.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.2875, allocations: 107.9 kB / 460 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/0.2878, allocations: 113.6 kB / 460.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.2879, allocations: 23.98 kB / 460.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.2908, allocations: 3.077 MB / 463.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2908, allocations: 0 / 463.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.2928, allocations: 1.117 MB / 464.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.2929, allocations: 47.66 kB / 464.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.293, allocations: 15.95 kB / 464.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.2935, allocations: 27.97 kB / 464.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2936, allocations: 64.42 kB / 464.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.2937, allocations: 20 kB / 464.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.2939, allocations: 180.5 kB / 464.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2939, allocations: 0 / 464.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007944/0.2947, allocations: 219.7 kB / 464.9 MB, free: 4.363 MB / 366.1 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.0002842/0.295, allocations: 151.1 kB / 465 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.2967, allocations: 0.8561 MB / 465.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2967, allocations: 0 / 465.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.2976, allocations: 0.5368 MB / 466.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.298, allocations: 50.5 kB / 466.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.3009, allocations: 1.086 MB / 467.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3013, allocations: 261.5 kB / 467.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.3018, allocations: 80.33 kB / 467.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.302, allocations: 47.36 kB / 467.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.302, allocations: 4 kB / 467.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of Templates: time 0.01998/0.322, allocations: 6.814 MB / 474.7 MB, free: 10.44 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.917957471683621]