Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.9 MB, free: 9.074 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.55 kB / 306.9 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 50.54 MB / 357.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005354/0.109, allocations: 4.181 MB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.112, allocations: 1.705 MB / 363.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.1125, allocations: 12 kB / 363.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.115, allocations: 0.9647 MB / 364.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.1159, allocations: 194.8 kB / 364.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.1176, allocations: 0.7517 MB / 365.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.1183, allocations: 0.579 MB / 365.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.1191, allocations: 449.7 kB / 366.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.1195, allocations: 247 kB / 366.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.1199, allocations: 330.6 kB / 366.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.509e-05/0.12, allocations: 36 kB / 366.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.1206, allocations: 279.7 kB / 367.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1208, allocations: 115.5 kB / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.121, allocations: 294.5 kB / 367.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.1218, allocations: 0.7133 MB / 368.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1218, allocations: 4 kB / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1218, allocations: 0 / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.1218, allocations: 0 / 368.3 MB, free: 3.395 MB / 302.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.003719/0.1255, allocations: 1.229 MB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1256, allocations: 12.03 kB / 369.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.1269, allocations: 176.1 kB / 369.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1271, allocations: 240.1 kB / 369.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.1272, allocations: 54.38 kB / 370 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1273, allocations: 68.38 kB / 370 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1286, allocations: 0.6999 MB / 370.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.1287, allocations: 0 / 370.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.1287, allocations: 32 kB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.1288, allocations: 19.98 kB / 370.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.13, allocations: 0.5947 MB / 371.4 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1687/0.2987, allocations: 2.323 MB / 373.7 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.3003, allocations: 1.614 MB / 375.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.3008, allocations: 278.5 kB / 375.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.301, allocations: 176.7 kB / 375.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.301, allocations: 51.16 kB / 375.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.301, allocations: 0 / 375.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001589/0.3026, allocations: 0.6983 MB / 376.5 MB, free: 16.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3027, allocations: 113.1 kB / 376.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.303, allocations: 256.8 kB / 376.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.303, allocations: 39.89 kB / 376.9 MB, free: 16.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3032, allocations: 264.9 kB / 377.2 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3033, allocations: 222.5 kB / 377.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.3035, allocations: 118.3 kB / 377.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.3036, allocations: 348.4 kB / 377.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.3041, allocations: 218.1 kB / 378.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.3046, allocations: 296.5 kB / 378.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.3055, allocations: 0.5142 MB / 378.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3055, allocations: 0 / 378.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001135/0.3067, allocations: 0.6257 MB / 379.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3067, allocations: 10.31 kB / 379.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3067, allocations: 1.312 kB / 379.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3067, allocations: 8.219 kB / 379.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.3074, allocations: 158.9 kB / 379.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3075, allocations: 6.375 kB / 379.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.3079, allocations: 79.8 kB / 379.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.308, allocations: 22.88 kB / 379.8 MB, free: 15.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.3082, allocations: 183.6 kB / 379.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.3083, allocations: 38.42 kB / 380 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.3095, allocations: 0.6082 MB / 380.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3095, allocations: 6.906 kB / 380.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3095, allocations: 1.312 kB / 380.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3095, allocations: 3.703 kB / 380.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.3115, allocations: 1.289 MB / 381.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3115, allocations: 1.812 kB / 381.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.3121, allocations: 127.3 kB / 382 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3121, allocations: 2.375 kB / 382 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.3121, allocations: 13.98 kB / 382 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.3121, allocations: 3.156 kB / 382 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3121, allocations: 0.9375 kB / 382 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.3136, allocations: 0.9727 MB / 383 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.3137, allocations: 123.5 kB / 383.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.3138, allocations: 16.22 kB / 383.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3142, allocations: 30.73 kB / 383.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3143, allocations: 44.3 kB / 383.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3144, allocations: 20.94 kB / 383.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3146, allocations: 191.3 kB / 383.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.3146, allocations: 0 / 383.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.3152, allocations: 187.2 kB / 383.6 MB, free: 13.05 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 (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.0002266/0.3154, allocations: 150.2 kB / 383.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.3165, allocations: 0.5323 MB / 384.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3165, allocations: 0 / 384.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.317, allocations: 275.6 kB / 384.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.3175, allocations: 46.81 kB / 384.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.3196, allocations: 1.357 MB / 386 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3199, allocations: 0.8449 MB / 386.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.3201, allocations: 48.23 kB / 386.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3201, allocations: 0 / 386.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01071/0.3308, allocations: 6.694 MB / 393.5 MB, free: 8.613 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches