Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 118.4 kB / 18.41 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 190.7 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 55.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09429, allocations: 49.43 MB / 408.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005614/0.09994, allocations: 4.185 MB / 412.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.1028, allocations: 1.619 MB / 413.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.103, allocations: 16 kB / 413.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.1054, allocations: 1.015 MB / 414.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.1059, allocations: 230.3 kB / 415.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1075, allocations: 0.794 MB / 416 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008184/0.1084, allocations: 0.6222 MB / 416.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.1093, allocations: 0.4991 MB / 417.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.1097, allocations: 267 kB / 417.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.1101, allocations: 334.6 kB / 417.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.733e-05/0.1102, allocations: 56 kB / 417.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006553/0.1109, allocations: 267.7 kB / 418 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.111, allocations: 131.5 kB / 418.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.1113, allocations: 306.5 kB / 418.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1124, allocations: 0.9223 MB / 419.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1124, allocations: 4 kB / 419.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1124, allocations: 0 / 419.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1124, allocations: 0 / 419.3 MB, free: 11.55 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.003818/0.1163, allocations: 1.216 MB / 420.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1163, allocations: 19.97 kB / 420.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1175, allocations: 176.4 kB / 420.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1177, allocations: 237 kB / 421 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.1178, allocations: 50.38 kB / 421 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1179, allocations: 64.38 kB / 421.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.1193, allocations: 0.7077 MB / 421.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.1193, allocations: 8 kB / 421.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.1194, allocations: 28 kB / 421.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1194, allocations: 16 kB / 421.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.1208, allocations: 0.5985 MB / 422.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.1243, allocations: 2.313 MB / 424.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1261, allocations: 1.631 MB / 426.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.1267, allocations: 279.3 kB / 426.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.1268, allocations: 93.66 kB / 426.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1269, allocations: 47.06 kB / 426.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.244e-06/0.1269, allocations: 0 / 426.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001701/0.1286, allocations: 0.7019 MB / 427.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.1287, allocations: 115.4 kB / 427.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.129, allocations: 253 kB / 427.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.1291, allocations: 33.7 kB / 427.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1293, allocations: 284.6 kB / 428.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.1295, allocations: 230 kB / 428.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.1297, allocations: 118.6 kB / 428.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1298, allocations: 354.8 kB / 428.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.1303, allocations: 209.9 kB / 429.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.1309, allocations: 301.4 kB / 429.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.132, allocations: 0.5142 MB / 429.9 MB, free: 400 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.132, allocations: 0 / 429.9 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.184/0.3161, allocations: 0.6242 MB / 430.5 MB, free: 22.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3161, allocations: 6.969 kB / 430.5 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3161, allocations: 4.562 kB / 430.5 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.3162, allocations: 5.812 kB / 430.5 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.3169, allocations: 160.9 kB / 430.7 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3169, allocations: 7.047 kB / 430.7 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.3174, allocations: 75.34 kB / 430.8 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.3174, allocations: 26.36 kB / 430.8 MB, free: 22.24 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.0002001/0.3176, allocations: 188.7 kB / 431 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.3177, allocations: 44.38 kB / 431 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.3189, allocations: 0.6004 MB / 431.6 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3189, allocations: 10 kB / 431.6 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3189, allocations: 0 / 431.6 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3189, allocations: 6.953 kB / 431.6 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.3208, allocations: 1.282 MB / 432.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3208, allocations: 0.7031 kB / 432.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.3213, allocations: 136.3 kB / 433 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3213, allocations: 0 / 433 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.3214, allocations: 14.36 kB / 433.1 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3214, allocations: 8.734 kB / 433.1 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3214, allocations: 0 / 433.1 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.3229, allocations: 0.9777 MB / 434 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.323, allocations: 124 kB / 434.2 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.3231, allocations: 14.59 kB / 434.2 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.3235, allocations: 32.22 kB / 434.2 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.3236, allocations: 44.55 kB / 434.3 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.3236, allocations: 25.14 kB / 434.3 MB, free: 21.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3238, allocations: 192.2 kB / 434.5 MB, free: 21.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3238, allocations: 0 / 434.5 MB, free: 21.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.3244, allocations: 177.1 kB / 434.6 MB, free: 21.31 MB / 350.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 (66): * Single equations (assignments): 66 * 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 Backend phase and start with SimCode phase: time 0.0002444/0.3246, allocations: 146.1 kB / 434.8 MB, free: 21.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3259, allocations: 0.5364 MB / 435.3 MB, free: 21.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3259, allocations: 2.781 kB / 435.3 MB, free: 21.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3265, allocations: 273.1 kB / 435.6 MB, free: 21.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.327, allocations: 51.62 kB / 435.6 MB, free: 21.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.329, allocations: 1.109 MB / 436.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3293, allocations: 0.8443 MB / 437.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3295, allocations: 54.06 kB / 437.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3295, allocations: 1.469 kB / 437.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of Templates: time 0.0111/0.3406, allocations: 6.783 MB / 444.4 MB, free: 19.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.06469630706124]