Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001816/0.001816, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002306/0.002306, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2278, allocations: 53.4 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007674/0.2355, allocations: 4.698 MB / 436.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.239, allocations: 1.646 MB / 438 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006366/0.2396, allocations: 16 kB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.2433, allocations: 1.317 MB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009934/0.2443, allocations: 329.6 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.2457, allocations: 0.6032 MB / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000975/0.2467, allocations: 0.8091 MB / 441.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2478, allocations: 0.6556 MB / 441.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.2482, allocations: 366.7 kB / 442.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.2488, allocations: 406.1 kB / 442.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2489, allocations: 76 kB / 442.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.2494, allocations: 251.8 kB / 442.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.2496, allocations: 179.3 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.2499, allocations: 342.3 kB / 443.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.2513, allocations: 1.209 MB / 444.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2513, allocations: 0 / 444.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2513, allocations: 7.938 kB / 444.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.2513, allocations: 3.938 kB / 444.5 MB, free: 9.609 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004075/0.2554, allocations: 1.394 MB / 445.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2554, allocations: 11.98 kB / 445.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.2571, allocations: 240.2 kB / 446.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.2574, allocations: 210 kB / 446.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.2574, allocations: 74.38 kB / 446.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.2576, allocations: 100.4 kB / 446.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.2593, allocations: 0.9425 MB / 447.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.2593, allocations: 7.953 kB / 447.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.2594, allocations: 40 kB / 447.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.2594, allocations: 24 kB / 447.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.2609, allocations: 0.7808 MB / 448.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00525/0.2661, allocations: 2.706 MB / 451 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2681, allocations: 0.8854 MB / 451.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.2686, allocations: 333.6 kB / 452.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.2688, allocations: 32.97 kB / 452.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.2688, allocations: 39.56 kB / 452.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.726e-06/0.2688, allocations: 0 / 452.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002261/0.2711, allocations: 1.007 MB / 453.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.2711, allocations: 86.11 kB / 453.4 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.2715, allocations: 339.9 kB / 453.7 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.2716, allocations: 45.69 kB / 453.8 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.2719, allocations: 396.1 kB / 454.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.2722, allocations: 317.3 kB / 454.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.2725, allocations: 178.9 kB / 454.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.2727, allocations: 358.8 kB / 455 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.2732, allocations: 266.5 kB / 455.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.2739, allocations: 475.4 kB / 455.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2751, allocations: 0.7745 MB / 456.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2751, allocations: 4 kB / 456.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001869/0.277, allocations: 0.977 MB / 457.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.277, allocations: 8.031 kB / 457.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.277, allocations: 12 kB / 457.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.2775, allocations: 127.4 kB / 457.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.2783, allocations: 207.7 kB / 457.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005027/0.2833, allocations: 5.597 MB / 463.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/0.284, allocations: 99.5 kB / 463.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.284, allocations: 47.98 kB / 463.6 MB, free: 5.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000368/0.2844, allocations: 225.2 kB / 463.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.2845, allocations: 47.72 kB / 463.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.2861, allocations: 0.8549 MB / 464.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2861, allocations: 8 kB / 464.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2861, allocations: 0 / 464.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.2862, allocations: 7.984 kB / 464.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.2891, allocations: 1.565 MB / 466.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.2891, allocations: 4 kB / 466.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.2897, allocations: 139.7 kB / 466.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/0.29, allocations: 115.3 kB / 466.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.29, allocations: 16 kB / 466.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.2945, allocations: 5.197 MB / 471.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2945, allocations: 4 kB / 471.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.2966, allocations: 1.273 MB / 473 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2967, allocations: 63.55 kB / 473.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.2967, allocations: 23.94 kB / 473.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.2971, allocations: 20 kB / 473.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2973, allocations: 68.47 kB / 473.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.2973, allocations: 27.98 kB / 473.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.2976, allocations: 215.1 kB / 473.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2976, allocations: 0 / 473.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.2986, allocations: 279.5 kB / 473.7 MB, free: 10.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000274/0.2989, allocations: 159 kB / 473.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.3007, allocations: 1.141 MB / 475 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3007, allocations: 0 / 475 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.3016, allocations: 0.7574 MB / 475.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.3022, allocations: 67.33 kB / 475.8 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.3049, allocations: 1.379 MB / 477.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3052, allocations: 318.3 kB / 477.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.3057, allocations: 104.9 kB / 477.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3058, allocations: 59.42 kB / 477.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3058, allocations: 0 / 477.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of Templates: time 0.01681/0.3227, allocations: 7.824 MB / 485.5 MB, free: 15.06 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.837113980203867]