Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001583/0.001583, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001684/0.001684, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2056, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005575/0.2112, allocations: 3.796 MB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.2139, allocations: 1.619 MB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.2141, allocations: 12 kB / 437.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.2164, allocations: 0.9482 MB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.2169, allocations: 242.2 kB / 439 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.2185, allocations: 0.7163 MB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.2191, allocations: 0.6105 MB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.2198, allocations: 438.5 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.2201, allocations: 270.9 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.2205, allocations: 342.6 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.605e-05/0.2206, allocations: 56 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.2211, allocations: 287.7 kB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2213, allocations: 135.5 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.2215, allocations: 250.8 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2227, allocations: 0.9454 MB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2227, allocations: 4 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2227, allocations: 0 / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2227, allocations: 0 / 443 MB, free: 12.04 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00383/0.2265, allocations: 1.157 MB / 444.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2266, allocations: 12.03 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.2278, allocations: 184.4 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2281, allocations: 174.5 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.2281, allocations: 50.38 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2282, allocations: 72.33 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.2297, allocations: 0.7328 MB / 445.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2297, allocations: 0 / 445.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.2297, allocations: 28 kB / 445.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.2298, allocations: 16 kB / 445.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2311, allocations: 0.6022 MB / 446 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.2344, allocations: 1.771 MB / 447.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.2358, allocations: 0.6734 MB / 448.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.2363, allocations: 251.5 kB / 448.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.2365, allocations: 24.62 kB / 448.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.2365, allocations: 51.31 kB / 448.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 4.078e-06/0.2365, allocations: 7.922 kB / 448.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001649/0.2381, allocations: 0.6969 MB / 449.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.2382, allocations: 115.4 kB / 449.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2385, allocations: 248 kB / 449.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.2386, allocations: 41.7 kB / 449.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.2387, allocations: 276.6 kB / 450.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.2389, allocations: 234 kB / 450.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.2391, allocations: 118.6 kB / 450.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2393, allocations: 342.8 kB / 450.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.2398, allocations: 209.9 kB / 451 MB, free: 3.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.2404, allocations: 323.1 kB / 451.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.2415, allocations: 0.5224 MB / 451.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2415, allocations: 0 / 451.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001322/0.2428, allocations: 0.6375 MB / 452.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2428, allocations: 11.94 kB / 452.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2428, allocations: 0 / 452.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2428, allocations: 4 kB / 452.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.2436, allocations: 160 kB / 452.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.2436, allocations: 11.98 kB / 452.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.2441, allocations: 67.55 kB / 452.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.2442, allocations: 23.98 kB / 452.8 MB, free: 1.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.2444, allocations: 189.7 kB / 452.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2445, allocations: 39.7 kB / 453 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.2458, allocations: 0.6026 MB / 453.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.2459, allocations: 3.984 kB / 453.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2459, allocations: 0 / 453.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.2459, allocations: 51.62 kB / 453.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.246, allocations: 8 kB / 453.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.2464, allocations: 31.97 kB / 453.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2465, allocations: 44.52 kB / 453.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001545/0.248, allocations: 0.7502 MB / 454.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001815/0.2499, allocations: 1.052 MB / 455.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004725/0.2503, allocations: 229.2 kB / 455.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.2505, allocations: 180.5 kB / 455.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Backend: time 2e-07/0.2505, allocations: 0 / 455.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.2519, allocations: 0.5016 MB / 456.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of SimCode: time 0.001656/0.2536, allocations: 1.276 MB / 457.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01789/0.2714, allocations: 10.65 MB / 468.4 MB, free: 2.395 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.632856174001063]