Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001701/0.001701, allocations: 98.66 kB / 21.93 MB, free: 5.207 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.001798/0.001798, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 55.94 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005142/0.3038, allocations: 3.753 MB / 401.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.3068, allocations: 1.57 MB / 402.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.3072, allocations: 11 kB / 402.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.3095, allocations: 0.9452 MB / 403.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000714/0.3102, allocations: 238.6 kB / 404.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3117, allocations: 0.7119 MB / 404.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.3125, allocations: 0.6295 MB / 405.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007128/0.3132, allocations: 433.4 kB / 405.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.3136, allocations: 275 kB / 406.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.3141, allocations: 304.2 kB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.3142, allocations: 53.31 kB / 406.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000679/0.3148, allocations: 245.8 kB / 406.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3149, allocations: 132 kB / 406.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.3152, allocations: 252.6 kB / 407.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.3164, allocations: 0.9189 MB / 408 MB, free: 3.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3164, allocations: 0 / 408 MB, free: 3.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3164, allocations: 0 / 408 MB, free: 3.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3164, allocations: 0 / 408 MB, free: 3.246 MB / 318.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.003586/0.32, allocations: 1.156 MB / 409.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3201, allocations: 12.11 kB / 409.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.3212, allocations: 176.3 kB / 409.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3214, allocations: 182 kB / 409.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.3215, allocations: 50.19 kB / 409.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3216, allocations: 72 kB / 409.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3229, allocations: 0.7335 MB / 410.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3229, allocations: 1.781 kB / 410.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.323, allocations: 24.5 kB / 410.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.323, allocations: 16.53 kB / 410.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3242, allocations: 0.5935 MB / 411 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.3271, allocations: 1.769 MB / 412.8 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.3284, allocations: 0.6733 MB / 413.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.3289, allocations: 242.5 kB / 413.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.329, allocations: 21.11 kB / 413.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3291, allocations: 40.53 kB / 413.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.876e-06/0.3291, allocations: 0 / 413.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.00171/0.3308, allocations: 0.7063 MB / 414.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.3309, allocations: 111 kB / 414.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.3312, allocations: 245.9 kB / 414.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.3313, allocations: 35.92 kB / 414.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.3315, allocations: 283.7 kB / 415.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3317, allocations: 236.4 kB / 415.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.3319, allocations: 118 kB / 415.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.332, allocations: 342 kB / 415.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.3325, allocations: 214.9 kB / 416 MB, free: 14.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.3331, allocations: 325.6 kB / 416.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3342, allocations: 0.5127 MB / 416.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3342, allocations: 1.031 kB / 416.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001391/0.3356, allocations: 0.6351 MB / 417.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3356, allocations: 6 kB / 417.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3356, allocations: 1.531 kB / 417.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3357, allocations: 4.875 kB / 417.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.3364, allocations: 160.4 kB / 417.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3364, allocations: 3.906 kB / 417.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.3369, allocations: 75.08 kB / 417.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.337, allocations: 24.64 kB / 417.8 MB, free: 13.12 MB / 334.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.0002901/0.3373, allocations: 188.4 kB / 418 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3374, allocations: 36.67 kB / 418 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.3388, allocations: 0.6121 MB / 418.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.3388, allocations: 6.875 kB / 418.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3388, allocations: 4 kB / 418.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3388, allocations: 1.375 kB / 418.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3411, allocations: 1.106 MB / 419.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3411, allocations: 5.328 kB / 419.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.3416, allocations: 125 kB / 419.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.3417, allocations: 6.547 kB / 419.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.3417, allocations: 13.06 kB / 419.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3417, allocations: 2.281 kB / 419.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3417, allocations: 1.281 kB / 419.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.3436, allocations: 0.9783 MB / 420.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3437, allocations: 44.47 kB / 420.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.3438, allocations: 11.53 kB / 420.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.3442, allocations: 33.19 kB / 420.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3443, allocations: 48.14 kB / 421 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.3444, allocations: 20.91 kB / 421 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3446, allocations: 177.9 kB / 421.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3446, allocations: 5.375 kB / 421.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007808/0.3454, allocations: 180.5 kB / 421.4 MB, free: 10.91 MB / 334.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.0003448/0.3457, allocations: 142.8 kB / 421.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3471, allocations: 0.4998 MB / 422 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3471, allocations: 4.062 kB / 422 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.3477, allocations: 251.6 kB / 422.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.3482, allocations: 56.52 kB / 422.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.3508, allocations: 1.111 MB / 423.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3511, allocations: 241.1 kB / 423.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.3513, allocations: 59.41 kB / 423.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3513, allocations: 0 / 423.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of Templates: time 0.01347/0.3648, allocations: 6.967 MB / 430.7 MB, free: 1.688 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.350082607008517]