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.001198/0.001198, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.0002432, allocations: 8 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08819, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004157/0.09239, allocations: 3.757 MB / 363.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.09513, allocations: 1.693 MB / 365.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.09548, allocations: 12 kB / 365.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.09609, allocations: 215.1 kB / 365.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000653/0.09675, allocations: 202.8 kB / 365.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.09824, allocations: 0.7284 MB / 366.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.09892, allocations: 0.5907 MB / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.1004, allocations: 0.8957 MB / 368 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.1008, allocations: 227 kB / 368.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1011, allocations: 294.6 kB / 368.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.1012, allocations: 28 kB / 368.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.1018, allocations: 263.7 kB / 368.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.1019, allocations: 99.53 kB / 368.9 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.1021, allocations: 304.2 kB / 369.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.1028, allocations: 0.6974 MB / 369.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1029, allocations: 0 / 369.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1029, allocations: 4 kB / 369.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.1029, allocations: 0 / 369.9 MB, free: 3.004 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.003392/0.1063, allocations: 1.116 MB / 371 MB, free: 1.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1063, allocations: 12.03 kB / 371 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.1076, allocations: 184 kB / 371.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1078, allocations: 244 kB / 371.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.1079, allocations: 54.38 kB / 371.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.108, allocations: 64.38 kB / 371.6 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.1094, allocations: 0.7116 MB / 372.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1094, allocations: 4 kB / 372.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.1095, allocations: 28 kB / 372.3 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1095, allocations: 16 kB / 372.3 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1662/0.2757, allocations: 0.6186 MB / 372.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.28, allocations: 2.326 MB / 375.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.2816, allocations: 1.627 MB / 376.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/0.2822, allocations: 292.2 kB / 377.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.2824, allocations: 181 kB / 377.4 MB, free: 16.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2824, allocations: 47.05 kB / 377.4 MB, free: 16.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.926e-06/0.2824, allocations: 0 / 377.4 MB, free: 16.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001677/0.2841, allocations: 0.734 MB / 378.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2842, allocations: 111 kB / 378.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.2845, allocations: 262.3 kB / 378.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.2845, allocations: 35.83 kB / 378.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2847, allocations: 266.5 kB / 378.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.2848, allocations: 223.7 kB / 379 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.2849, allocations: 56.84 kB / 379.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.285, allocations: 346.8 kB / 379.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.2855, allocations: 220.2 kB / 379.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.286, allocations: 320.9 kB / 379.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009741/0.287, allocations: 0.5325 MB / 380.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.287, allocations: 0 / 380.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001215/0.2882, allocations: 0.6487 MB / 381.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2883, allocations: 5.844 kB / 381.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2883, allocations: 2.516 kB / 381.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2883, allocations: 4.812 kB / 381.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.289, allocations: 163.4 kB / 381.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.289, allocations: 8.328 kB / 381.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2895, allocations: 82.34 kB / 381.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.2896, allocations: 27.12 kB / 381.4 MB, free: 14.02 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.0002095/0.2898, allocations: 183.1 kB / 381.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.2899, allocations: 38.55 kB / 381.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.2912, allocations: 0.6173 MB / 382.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2912, allocations: 6.406 kB / 382.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2913, allocations: 1.844 kB / 382.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2913, allocations: 4.016 kB / 382.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.2934, allocations: 1.321 MB / 383.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2934, allocations: 0.6094 kB / 383.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.294, allocations: 127.3 kB / 383.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.294, allocations: 3.594 kB / 383.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.2941, allocations: 13.27 kB / 383.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2941, allocations: 3.672 kB / 383.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2941, allocations: 6.25 kB / 383.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.2957, allocations: 1.004 MB / 384.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2958, allocations: 123.8 kB / 384.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.2959, allocations: 17.44 kB / 384.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.2963, allocations: 31.7 kB / 384.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2964, allocations: 42.97 kB / 384.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.2964, allocations: 19.59 kB / 385 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.2966, allocations: 191.1 kB / 385.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2966, allocations: 0 / 385.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005992/0.2972, allocations: 187.3 kB / 385.3 MB, free: 12 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.0002323/0.2975, allocations: 153.5 kB / 385.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.2986, allocations: 0.5529 MB / 386 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2986, allocations: 0 / 386 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.2992, allocations: 285.1 kB / 386.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.2997, allocations: 50.56 kB / 386.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.3019, allocations: 1.4 MB / 387.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3023, allocations: 0.853 MB / 388.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.3025, allocations: 52.78 kB / 388.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3025, allocations: 0 / 388.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of Templates: time 0.01172/0.3142, allocations: 6.618 MB / 395.3 MB, free: 7.559 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