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.001689/0.001689, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.00198/0.00198, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002027/0.002027, allocations: 63.89 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2515, allocations: 53.4 MB / 432.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006322/0.2578, allocations: 4.371 MB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.2608, allocations: 1.752 MB / 438.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.2611, allocations: 12 kB / 438.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.2637, allocations: 1.035 MB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.2644, allocations: 250.1 kB / 439.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.2661, allocations: 0.7782 MB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008161/0.2669, allocations: 0.6338 MB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.2677, allocations: 471 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.2681, allocations: 282.9 kB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.2686, allocations: 354.5 kB / 442.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.2686, allocations: 60 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006191/0.2692, allocations: 299.7 kB / 442.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2694, allocations: 139.5 kB / 442.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.2697, allocations: 322.4 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.2709, allocations: 0.9804 MB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2709, allocations: 0 / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.271, allocations: 0 / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.271, allocations: 0 / 444.1 MB, free: 11.02 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.003687/0.2746, allocations: 1.215 MB / 445.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2747, allocations: 8.031 kB / 445.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.276, allocations: 200.4 kB / 445.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2762, allocations: 184.7 kB / 445.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.2763, allocations: 54.38 kB / 445.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.2764, allocations: 76.31 kB / 445.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.2779, allocations: 0.7779 MB / 446.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.2779, allocations: 4 kB / 446.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.278, allocations: 28 kB / 446.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.278, allocations: 20 kB / 446.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.2794, allocations: 0.6649 MB / 447.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.2841, allocations: 2.876 MB / 450.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.2861, allocations: 0.8337 MB / 451.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.2867, allocations: 287.4 kB / 451.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.2868, allocations: 40.59 kB / 451.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2868, allocations: 39.22 kB / 451.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.484e-06/0.2868, allocations: 0 / 451.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002646/0.2895, allocations: 0.9833 MB / 452.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.2896, allocations: 111.5 kB / 452.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.2899, allocations: 277.8 kB / 452.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.2899, allocations: 41.73 kB / 452.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2902, allocations: 304.4 kB / 453.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.2904, allocations: 249.8 kB / 453.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.2906, allocations: 138.8 kB / 453.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2908, allocations: 350.7 kB / 453.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.2913, allocations: 241.8 kB / 454.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.2919, allocations: 386.2 kB / 454.5 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2931, allocations: 0.6337 MB / 455.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2931, allocations: 4 kB / 455.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00174/0.2949, allocations: 0.8346 MB / 455.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.2949, allocations: 8 kB / 455.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2949, allocations: 4 kB / 455.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.2953, allocations: 125.7 kB / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.296, allocations: 159.8 kB / 456.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.2999, allocations: 3.579 MB / 459.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.3004, allocations: 87.39 kB / 459.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.3005, allocations: 32.05 kB / 459.9 MB, free: 10.51 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.0002988/0.3008, allocations: 201.7 kB / 460.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3009, allocations: 43.72 kB / 460.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.3026, allocations: 0.7414 MB / 460.9 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3026, allocations: 8 kB / 460.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3026, allocations: 0 / 460.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3026, allocations: 3.984 kB / 460.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.3053, allocations: 1.476 MB / 462.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.3054, allocations: 0 / 462.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.3059, allocations: 111.8 kB / 462.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003107/0.3062, allocations: 109.6 kB / 462.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.3062, allocations: 12 kB / 462.6 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.3094, allocations: 3.146 MB / 465.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3094, allocations: 0 / 465.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.3114, allocations: 1.125 MB / 466.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3116, allocations: 47.62 kB / 466.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.3117, allocations: 15.95 kB / 467 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.3121, allocations: 31.97 kB / 467 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.3122, allocations: 56.61 kB / 467 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.3122, allocations: 20 kB / 467.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3125, allocations: 193.2 kB / 467.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3125, allocations: 0 / 467.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008886/0.3133, allocations: 219.6 kB / 467.5 MB, free: 2.625 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.0002872/0.3136, allocations: 166.5 kB / 467.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3153, allocations: 0.8489 MB / 468.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3153, allocations: 256 / 468.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008928/0.3162, allocations: 0.5399 MB / 469 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.3167, allocations: 42.77 kB / 469.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.3189, allocations: 1.119 MB / 470.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.3195, allocations: 0.8616 MB / 471 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.3197, allocations: 67.34 kB / 471.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3197, allocations: 0 / 471.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01694/0.3366, allocations: 11.85 MB / 483 MB, free: 3.012 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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: 7.869349920889363]