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.0009003/0.0009003, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000871/0.000871, allocations: 147 kB / 24.89 MB, free: 8.785 MB / 18.57 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 0.91/0.91, allocations: 173.4 MB / 201.5 MB, free: 8.262 MB / 186.7 MB " [Timeout remaining time 179] 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 1.293e-06/1.293e-06, allocations: 0 / 268.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.726e-05, allocations: 2.312 kB / 268.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004868/0.004886, allocations: 4.067 MB / 272.6 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.007375, allocations: 1.638 MB / 274.2 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.00756, allocations: 12 kB / 274.2 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.009215, allocations: 1.074 MB / 275.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004594/0.009675, allocations: 250 kB / 275.5 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.01088, allocations: 0.7704 MB / 276.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.01145, allocations: 0.657 MB / 276.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.01206, allocations: 465.4 kB / 277.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.0125, allocations: 395.1 kB / 277.8 MB, free: 492 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.01286, allocations: 267.2 kB / 278 MB, free: 224 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-05/0.01293, allocations: 52 kB / 278.1 MB, free: 172 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.01334, allocations: 259.5 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.01345, allocations: 135.4 kB / 278.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.01364, allocations: 211.5 kB / 278.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.01442, allocations: 0.6579 MB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01442, allocations: 8 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01442, allocations: 3.938 kB / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.01443, allocations: 0 / 279.4 MB, free: 14.9 MB / 266.7 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.002541/0.01697, allocations: 1.159 MB / 280.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.017, allocations: 12.03 kB / 280.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.01811, allocations: 308.3 kB / 280.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.01827, allocations: 173.7 kB / 281 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.01832, allocations: 54.38 kB / 281.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.01842, allocations: 64.38 kB / 281.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.01914, allocations: 0.5305 MB / 281.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.01916, allocations: 8.156 kB / 281.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.01921, allocations: 28.38 kB / 281.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.01923, allocations: 19.94 kB / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.01961, allocations: 201 kB / 281.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.02183, allocations: 1.36 MB / 283.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.02251, allocations: 488 kB / 283.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.02267, allocations: 111.7 kB / 283.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.02278, allocations: 28.64 kB / 283.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.02281, allocations: 39.22 kB / 283.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.324e-06/0.02281, allocations: 0 / 283.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0005945/0.0234, allocations: 309.8 kB / 284.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.02346, allocations: 115.4 kB / 284.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.02366, allocations: 227.2 kB / 284.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.0237, allocations: 37.7 kB / 284.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.02384, allocations: 268.7 kB / 284.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.024, allocations: 230 kB / 285.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.02417, allocations: 126.5 kB / 285.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.02429, allocations: 342.8 kB / 285.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.02443, allocations: 69.95 kB / 285.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.02465, allocations: 191 kB / 285.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.02503, allocations: 282.8 kB / 286.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.02503, allocations: 0 / 286.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004884/0.02552, allocations: 309.2 kB / 286.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.02554, allocations: 8 kB / 286.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.02555, allocations: 0 / 286.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.02557, allocations: 7.938 kB / 286.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.02607, allocations: 148 kB / 286.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.02608, allocations: 11.94 kB / 286.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.02636, allocations: 67.55 kB / 286.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.0264, allocations: 15.98 kB / 286.6 MB, free: 7.352 MB / 266.7 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.0001547/0.02656, allocations: 141.7 kB / 286.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.02666, allocations: 43.97 kB / 286.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.02718, allocations: 333.1 kB / 287.1 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.02718, allocations: 11.94 kB / 287.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.02719, allocations: 0 / 287.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.02719, allocations: 7.969 kB / 287.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.02826, allocations: 0.6366 MB / 287.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.02826, allocations: 0 / 287.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.02865, allocations: 115.9 kB / 287.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.02865, allocations: 4 kB / 287.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.02868, allocations: 12 kB / 287.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.02869, allocations: 4 kB / 287.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02869, allocations: 0 / 287.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.0293, allocations: 0.5255 MB / 288.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.02935, allocations: 43.58 kB / 288.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.02941, allocations: 12 kB / 288.5 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.02965, allocations: 23.98 kB / 288.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.02974, allocations: 40.56 kB / 288.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.02976, allocations: 20.03 kB / 288.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.02985, allocations: 70.78 kB / 288.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02985, allocations: 0 / 288.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.03037, allocations: 183.6 kB / 288.8 MB, free: 5.09 MB / 266.7 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.0002324/0.0306, allocations: 128.2 kB / 288.9 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.03105, allocations: 284.6 kB / 289.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.03106, allocations: 12.06 kB / 289.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.03127, allocations: 153.8 kB / 289.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.03168, allocations: 66.64 kB / 289.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.03342, allocations: 0.9636 MB / 290.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.03353, allocations: 120.8 kB / 290.5 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.03387, allocations: 83.33 kB / 290.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.03411, allocations: 127.3 kB / 290.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.03412, allocations: 0 / 290.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Templates: time 0.01035/0.04447, allocations: 5.409 MB / 296.2 MB, free: 13.78 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6246081721037626]