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.0009526/0.0009527, allocations: 94.08 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001998/0.0001998, allocations: 4 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08594, allocations: 51.53 MB / 359.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004907/0.09089, allocations: 3.752 MB / 363 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.09403, allocations: 1.693 MB / 364.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.09446, allocations: 8 kB / 364.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.09515, allocations: 215.1 kB / 364.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007533/0.09592, allocations: 194.8 kB / 365.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.09751, allocations: 0.7401 MB / 365.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006909/0.09822, allocations: 0.5789 MB / 366.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.09989, allocations: 0.9032 MB / 367.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.1003, allocations: 227 kB / 367.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.1008, allocations: 298.6 kB / 367.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.289e-05/0.1009, allocations: 24 kB / 367.9 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000645/0.1016, allocations: 263.7 kB / 368.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.1017, allocations: 99.53 kB / 368.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.102, allocations: 304.2 kB / 368.5 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1032, allocations: 0.8955 MB / 369.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1032, allocations: 0 / 369.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1032, allocations: 0 / 369.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.1032, allocations: 0 / 369.4 MB, free: 3.027 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.003689/0.1069, allocations: 1.124 MB / 370.6 MB, free: 1.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.107, allocations: 8.031 kB / 370.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.1083, allocations: 188 kB / 370.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1085, allocations: 244.1 kB / 371 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.1086, allocations: 46.38 kB / 371 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.1087, allocations: 68.38 kB / 371.1 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1101, allocations: 0.7155 MB / 371.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.1102, allocations: 0 / 371.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1102, allocations: 28 kB / 371.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.1103, allocations: 20 kB / 371.9 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1673/0.2776, allocations: 0.609 MB / 372.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.2813, allocations: 2.333 MB / 374.8 MB, free: 17.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.2827, allocations: 1.627 MB / 376.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.2832, allocations: 286.5 kB / 376.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.2834, allocations: 185.1 kB / 376.9 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2834, allocations: 43.03 kB / 376.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.816e-06/0.2834, allocations: 1.078 kB / 376.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001496/0.2849, allocations: 0.7317 MB / 377.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.285, allocations: 110.8 kB / 377.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.2852, allocations: 261.4 kB / 378 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.2853, allocations: 36.55 kB / 378.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.2854, allocations: 272.5 kB / 378.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2855, allocations: 226.6 kB / 378.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.2856, allocations: 57.42 kB / 378.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.2857, allocations: 348 kB / 378.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.2861, allocations: 221 kB / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.2866, allocations: 310.4 kB / 379.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/0.2875, allocations: 0.537 MB / 380 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2875, allocations: 0 / 380 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001127/0.2886, allocations: 0.6499 MB / 380.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2886, allocations: 6.281 kB / 380.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2887, allocations: 1.547 kB / 380.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2887, allocations: 4.625 kB / 380.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.2894, allocations: 163.2 kB / 380.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2894, allocations: 9.578 kB / 380.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.2899, allocations: 78 kB / 380.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.2899, allocations: 23.03 kB / 380.9 MB, free: 14.17 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.0001775/0.2901, allocations: 192 kB / 381.1 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.2902, allocations: 37.94 kB / 381.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2914, allocations: 0.6221 MB / 381.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2914, allocations: 8.656 kB / 381.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2914, allocations: 0 / 381.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2914, allocations: 3.516 kB / 381.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.2933, allocations: 1.318 MB / 383.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2933, allocations: 0 / 383.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.2939, allocations: 132.3 kB / 383.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.2939, allocations: 3.078 kB / 383.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.2939, allocations: 14.42 kB / 383.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.294, allocations: 2.094 kB / 383.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.294, allocations: 1.969 kB / 383.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.2955, allocations: 1.008 MB / 384.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.2955, allocations: 117.1 kB / 384.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.2956, allocations: 12.89 kB / 384.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.296, allocations: 35.75 kB / 384.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.2961, allocations: 47.2 kB / 384.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.2961, allocations: 18.09 kB / 384.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.2963, allocations: 190.8 kB / 384.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2963, allocations: 0.9844 kB / 384.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.2969, allocations: 183.4 kB / 384.9 MB, free: 12.14 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.0002096/0.2971, allocations: 159.4 kB / 385 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2981, allocations: 0.5525 MB / 385.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2981, allocations: 384 / 385.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.2986, allocations: 284.5 kB / 385.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.2991, allocations: 54.31 kB / 385.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3011, allocations: 1.366 MB / 387.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3014, allocations: 0.8454 MB / 388.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.3019, allocations: 81.02 kB / 388.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.302, allocations: 43.58 kB / 388.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.302, allocations: 0 / 388.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Templates: time 0.009152/0.3112, allocations: 4.818 MB / 393 MB, free: 8.727 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/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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches