Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.0009955/0.0009955, allocations: 80.8 kB / 22.29 MB, free: 2.199 MB / 18.57 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.001055/0.001055, allocations: 168.1 kB / 25.7 MB, free: 8.422 MB / 18.57 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 0.8596/0.8596, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.527e-05, allocations: 10.25 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005549/0.005565, allocations: 5.073 MB / 256.7 MB, free: 2.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.007822, allocations: 1.748 MB / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.008026, allocations: 20 kB / 258.4 MB, free: 324 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.009908, allocations: 1.497 MB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.01067, allocations: 321.5 kB / 260.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.01156, allocations: 0.6151 MB / 260.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.01223, allocations: 0.8438 MB / 261.7 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.01301, allocations: 0.7122 MB / 262.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.01345, allocations: 0.5184 MB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.01382, allocations: 363 kB / 263.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.0139, allocations: 76 kB / 263.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.01427, allocations: 255.6 kB / 263.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.01438, allocations: 183.3 kB / 263.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.01459, allocations: 287.3 kB / 264.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.01532, allocations: 0.7979 MB / 264.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01533, allocations: 0 / 264.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01533, allocations: 0 / 264.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.01533, allocations: 0 / 264.9 MB, free: 9.836 MB / 250.7 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.002646/0.01798, allocations: 1.431 MB / 266.3 MB, free: 8.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.01801, allocations: 15.98 kB / 266.3 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.0196, allocations: 448 kB / 266.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.01975, allocations: 204.7 kB / 266.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.01981, allocations: 74.38 kB / 267 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.01991, allocations: 96.38 kB / 267.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.0209, allocations: 0.6651 MB / 267.8 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.02093, allocations: 8.141 kB / 267.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.02098, allocations: 36.38 kB / 267.8 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.021, allocations: 27.94 kB / 267.8 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.02157, allocations: 285.6 kB / 268.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.02445, allocations: 2.179 MB / 270.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.02535, allocations: 0.6548 MB / 271 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.02557, allocations: 177 kB / 271.1 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.02563, allocations: 32.98 kB / 271.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.02566, allocations: 43.56 kB / 271.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 2.605e-06/0.02566, allocations: 0 / 271.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009096/0.02657, allocations: 0.5601 MB / 271.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.0266, allocations: 86.11 kB / 271.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.02681, allocations: 302.6 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.02684, allocations: 41.73 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.027, allocations: 396 kB / 272.6 MB, free: 1.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.02717, allocations: 309.3 kB / 272.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.02736, allocations: 170.8 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.02746, allocations: 362.7 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.02761, allocations: 98.56 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.02787, allocations: 319.4 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.02865, allocations: 484.9 kB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.02866, allocations: 7.938 kB / 274.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007031/0.02936, allocations: 0.5644 MB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.02938, allocations: 8.719 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.02939, allocations: 7.938 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.02976, allocations: 139.3 kB / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.03031, allocations: 219.7 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.0327, allocations: 5.111 MB / 280.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.03299, allocations: 99.3 kB / 280.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.03303, allocations: 28.12 kB / 280.5 MB, free: 9.441 MB / 266.7 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.0001517/0.03318, allocations: 165.6 kB / 280.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.03328, allocations: 63.89 kB / 280.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006311/0.03391, allocations: 0.5093 MB / 281.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.03392, allocations: 8 kB / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.03392, allocations: 4 kB / 281.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.03393, allocations: 7.969 kB / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.03542, allocations: 0.9601 MB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.03543, allocations: 3.938 kB / 282.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.03581, allocations: 147.8 kB / 282.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/0.03611, allocations: 123.6 kB / 282.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.03615, allocations: 23.98 kB / 282.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.03826, allocations: 4.745 MB / 287.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.03826, allocations: 4 kB / 287.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.03899, allocations: 0.7478 MB / 288 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.03905, allocations: 67.41 kB / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.03909, allocations: 20 kB / 288 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.03932, allocations: 20.09 kB / 288.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.0394, allocations: 68.47 kB / 288.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.03943, allocations: 16 kB / 288.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.03953, allocations: 108.6 kB / 288.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03953, allocations: 0 / 288.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009102/0.04044, allocations: 263.5 kB / 288.5 MB, free: 0.8711 MB / 266.7 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.0001793/0.04062, allocations: 132.1 kB / 288.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000798/0.04142, allocations: 0.8936 MB / 289.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.04143, allocations: 8.5 kB / 289.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.04189, allocations: 0.6809 MB / 290.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.04229, allocations: 56.58 kB / 290.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.04407, allocations: 1.304 MB / 291.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.04419, allocations: 151.3 kB / 291.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.04452, allocations: 104.9 kB / 291.8 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.04473, allocations: 131.4 kB / 292 MB, free: 13.22 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04473, allocations: 0 / 292 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Templates: time 0.01032/0.05505, allocations: 7.466 MB / 299.4 MB, free: 5.777 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.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.7198398523032665]