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.0009392/0.0009392, allocations: 91.52 kB / 16.31 MB, free: 5.621 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.001212/0.001212, allocations: 180.6 kB / 17.21 MB, free: 5.539 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.418/1.418, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002602, allocations: 7.062 kB / 300.8 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08668, allocations: 50.43 MB / 351.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003864/0.09058, allocations: 3.542 MB / 354.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.09297, allocations: 1.492 MB / 356.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.09315, allocations: 12 kB / 356.3 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.09356, allocations: 167.2 kB / 356.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004355/0.09401, allocations: 186.8 kB / 356.6 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.09539, allocations: 0.6411 MB / 357.3 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.09595, allocations: 0.5715 MB / 357.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.09735, allocations: 0.8222 MB / 358.7 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.09768, allocations: 219.1 kB / 358.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.09806, allocations: 294.8 kB / 359.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.09812, allocations: 28 kB / 359.2 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.09858, allocations: 227.8 kB / 359.4 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.09868, allocations: 103.5 kB / 359.5 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.09879, allocations: 129.4 kB / 359.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.09944, allocations: 0.6855 MB / 360.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.09945, allocations: 0 / 360.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09946, allocations: 0 / 360.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.09947, allocations: 0 / 360.3 MB, free: 2.547 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.003127/0.1026, allocations: 1.108 MB / 361.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1026, allocations: 12.03 kB / 361.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.1037, allocations: 175.1 kB / 361.6 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.104, allocations: 230.9 kB / 361.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.104, allocations: 49.94 kB / 361.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1042, allocations: 68 kB / 362 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1055, allocations: 0.7228 MB / 362.7 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1055, allocations: 3.906 kB / 362.7 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.1056, allocations: 24 kB / 362.7 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1056, allocations: 20 kB / 362.7 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1068, allocations: 0.6142 MB / 363.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.1101, allocations: 2.324 MB / 365.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.1116, allocations: 1.632 MB / 367.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.1122, allocations: 291.7 kB / 367.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.1123, allocations: 89.67 kB / 367.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1123, allocations: 43.11 kB / 367.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.1124, allocations: 0 / 367.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.00153/0.1139, allocations: 0.7328 MB / 368.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.114, allocations: 107.4 kB / 368.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.1142, allocations: 268.8 kB / 368.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1143, allocations: 33.7 kB / 368.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1144, allocations: 264 kB / 369.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.1146, allocations: 224.8 kB / 369.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1147, allocations: 16 kB / 369.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1148, allocations: 342.8 kB / 369.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.1153, allocations: 217.9 kB / 369.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.1158, allocations: 313.3 kB / 370.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.1163, allocations: 255.2 kB / 370.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1164, allocations: 0 / 370.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001212/0.1176, allocations: 0.6453 MB / 371.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1176, allocations: 8 kB / 371.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1176, allocations: 3.938 kB / 371.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1176, allocations: 8 kB / 371.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.1183, allocations: 179.7 kB / 371.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1184, allocations: 4 kB / 371.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.1188, allocations: 83.34 kB / 371.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.1189, allocations: 20 kB / 371.4 MB, free: 6.887 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.1191, allocations: 185.7 kB / 371.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/0.1192, allocations: 35.53 kB / 371.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.1205, allocations: 0.624 MB / 372.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1205, allocations: 11.94 kB / 372.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1205, allocations: 3.953 kB / 372.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1205, allocations: 11.98 kB / 372.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.1225, allocations: 1.308 MB / 373.6 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1226, allocations: 3.953 kB / 373.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.1231, allocations: 127.9 kB / 373.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.1231, allocations: 4 kB / 373.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.1232, allocations: 16 kB / 373.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.1232, allocations: 7.938 kB / 373.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1232, allocations: 3.984 kB / 373.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.1248, allocations: 0.9978 MB / 374.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1249, allocations: 120.6 kB / 374.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.125, allocations: 12 kB / 374.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.1254, allocations: 35.92 kB / 374.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.1255, allocations: 44.5 kB / 374.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.1255, allocations: 19.98 kB / 375 MB, free: 3.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1257, allocations: 188.5 kB / 375.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1257, allocations: 4 kB / 375.2 MB, free: 3.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005542/0.1263, allocations: 183.4 kB / 375.3 MB, free: 2.84 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.0002201/0.1265, allocations: 147.1 kB / 375.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1276, allocations: 0.5507 MB / 376 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1276, allocations: 0 / 376 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.1281, allocations: 287.4 kB / 376.3 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.1286, allocations: 47 kB / 376.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1307, allocations: 1.311 MB / 377.7 MB, free: 488 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1311, allocations: 0.8502 MB / 378.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.1315, allocations: 79.41 kB / 378.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.1317, allocations: 43.42 kB / 378.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1317, allocations: 0 / 378.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of Templates: time 0.008965/0.1407, allocations: 4.689 MB / 383.3 MB, free: 10.83 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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