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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 95.66 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.000223, allocations: 6.344 kB / 300.7 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07856, allocations: 50.43 MB / 351.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003367/0.08196, allocations: 3.328 MB / 354.5 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.08391, allocations: 1.5 MB / 356 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.08405, allocations: 12 kB / 356 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.08441, allocations: 163.1 kB / 356.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.08482, allocations: 219.4 kB / 356.4 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.08598, allocations: 0.6455 MB / 357 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.08641, allocations: 427.1 kB / 357.4 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.08768, allocations: 0.7988 MB / 358.2 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.08796, allocations: 227.1 kB / 358.5 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.08828, allocations: 274.9 kB / 358.7 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.08833, allocations: 28 kB / 358.7 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.08872, allocations: 215.7 kB / 359 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.0888, allocations: 95.53 kB / 359.1 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.0889, allocations: 133.4 kB / 359.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.0895, allocations: 0.6778 MB / 359.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.08951, allocations: 0 / 359.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08952, allocations: 4 kB / 359.9 MB, free: 2.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.08953, allocations: 0 / 359.9 MB, free: 2.938 MB / 286.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.003185/0.09272, allocations: 1.112 MB / 361 MB, free: 1.773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.09276, allocations: 8.031 kB / 361 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.09388, allocations: 171.1 kB / 361.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.09406, allocations: 234.9 kB / 361.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.09411, allocations: 50 kB / 361.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.09421, allocations: 68 kB / 361.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.09539, allocations: 0.7111 MB / 362.2 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.09542, allocations: 3.906 kB / 362.2 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.09549, allocations: 24 kB / 362.2 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.09551, allocations: 20 kB / 362.3 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.09675, allocations: 0.6142 MB / 362.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.09992, allocations: 2.332 MB / 365.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.1018, allocations: 1.695 MB / 366.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.1019, allocations: 93.72 kB / 367 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.102, allocations: 43.11 kB / 367 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 3.687e-06/0.102, allocations: 3.984 kB / 367 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001541/0.1035, allocations: 0.7327 MB / 367.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1036, allocations: 115.4 kB / 367.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1039, allocations: 260.8 kB / 368.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.1039, allocations: 37.7 kB / 368.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.104, allocations: 264.1 kB / 368.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1042, allocations: 224.7 kB / 368.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1042, allocations: 12 kB / 368.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1044, allocations: 346.8 kB / 369 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1048, allocations: 213.9 kB / 369.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.1054, allocations: 309.4 kB / 369.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.1059, allocations: 259.1 kB / 369.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1059, allocations: 4 kB / 369.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001193/0.1071, allocations: 0.6414 MB / 370.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1071, allocations: 7.984 kB / 370.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1072, allocations: 4 kB / 370.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1072, allocations: 4 kB / 370.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.1079, allocations: 163.7 kB / 370.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1079, allocations: 15.95 kB / 370.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.1084, allocations: 75.34 kB / 370.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.1084, allocations: 27.94 kB / 370.7 MB, free: 7.512 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.1086, allocations: 181.7 kB / 370.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.1087, allocations: 39.53 kB / 370.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.11, allocations: 0.624 MB / 371.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.11, allocations: 8 kB / 371.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.11, allocations: 7.938 kB / 371.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.11, allocations: 7.938 kB / 371.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.112, allocations: 1.308 MB / 372.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.112, allocations: 4 kB / 372.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.1126, allocations: 135.8 kB / 373 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.1126, allocations: 8 kB / 373 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.1127, allocations: 12 kB / 373 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1127, allocations: 3.938 kB / 373 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1127, allocations: 7.984 kB / 373 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.1143, allocations: 1.011 MB / 374 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1144, allocations: 124.6 kB / 374.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.1145, allocations: 8 kB / 374.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.1149, allocations: 31.98 kB / 374.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.115, allocations: 40.5 kB / 374.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.115, allocations: 24.05 kB / 374.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1152, allocations: 188.5 kB / 374.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.345e-06/0.1152, allocations: 0 / 374.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.1157, allocations: 187.4 kB / 374.6 MB, free: 3.445 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002031/0.1159, allocations: 147.1 kB / 374.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.117, allocations: 0.5468 MB / 375.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.117, allocations: 0 / 375.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.1175, allocations: 287.4 kB / 375.6 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1178, allocations: 44.31 kB / 375.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1197, allocations: 1.315 MB / 377 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.12, allocations: 0.8502 MB / 377.8 MB, free: 208 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.1205, allocations: 87.39 kB / 377.9 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1206, allocations: 43.42 kB / 377.9 MB, free: 76 kB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1206, allocations: 0 / 377.9 MB, free: 76 kB / 302.1 MB Notification: Performance of Templates: time 0.008359/0.129, allocations: 4.664 MB / 382.6 MB, free: 11.45 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches