Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 227.7 MB / 247.1 MB, free: 10.33 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.98 kB / 307.2 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.09137, allocations: 50.53 MB / 357.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005803/0.09721, allocations: 4.191 MB / 362 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.09993, allocations: 1.732 MB / 363.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1001, allocations: 12 kB / 363.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.1024, allocations: 1.007 MB / 364.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.1029, allocations: 242.2 kB / 365 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1044, allocations: 0.7584 MB / 365.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.105, allocations: 0.614 MB / 366.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.1057, allocations: 0.4957 MB / 366.8 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.1061, allocations: 267 kB / 367.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.1065, allocations: 334.6 kB / 367.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8e-05/0.1066, allocations: 52 kB / 367.5 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.1071, allocations: 291.7 kB / 367.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1072, allocations: 123.6 kB / 367.9 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.1076, allocations: 314.5 kB / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1086, allocations: 0.9267 MB / 369.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1086, allocations: 4 kB / 369.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1086, allocations: 0 / 369.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1086, allocations: 3.938 kB / 369.1 MB, free: 2.566 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.003654/0.1123, allocations: 1.232 MB / 370.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1123, allocations: 12.03 kB / 370.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.1135, allocations: 168.1 kB / 370.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1138, allocations: 241.8 kB / 370.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.1139, allocations: 46.38 kB / 370.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.114, allocations: 64.38 kB / 370.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.14/0.254, allocations: 0.7118 MB / 371.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.2541, allocations: 3.188 kB / 371.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.2542, allocations: 24.81 kB / 371.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.2543, allocations: 16.47 kB / 371.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2556, allocations: 0.5949 MB / 372.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.2589, allocations: 2.343 MB / 374.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2605, allocations: 1.622 MB / 376.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.261, allocations: 277.6 kB / 376.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.2612, allocations: 187.9 kB / 376.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2613, allocations: 42.12 kB / 376.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.2613, allocations: 1.375 kB / 376.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001481/0.2628, allocations: 0.7025 MB / 377.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2628, allocations: 114 kB / 377.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.2631, allocations: 257.7 kB / 377.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2631, allocations: 41.16 kB / 377.8 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2632, allocations: 261 kB / 378 MB, free: 16.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2633, allocations: 226.7 kB / 378.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2635, allocations: 121.2 kB / 378.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.2636, allocations: 346.2 kB / 378.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.264, allocations: 212.5 kB / 378.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.2645, allocations: 299.5 kB / 379.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.2655, allocations: 0.5204 MB / 379.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2655, allocations: 3.938 kB / 379.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001204/0.2667, allocations: 0.6295 MB / 380.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2667, allocations: 5.438 kB / 380.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2667, allocations: 1.5 kB / 380.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2667, allocations: 4.938 kB / 380.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.2674, allocations: 155.9 kB / 380.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2675, allocations: 9.562 kB / 380.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.2679, allocations: 73.61 kB / 380.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.268, allocations: 23.95 kB / 380.6 MB, free: 14.63 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.0001744/0.2681, allocations: 192.6 kB / 380.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.2682, allocations: 37.22 kB / 380.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.2694, allocations: 0.6082 MB / 381.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2695, allocations: 8.703 kB / 381.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2695, allocations: 0 / 381.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2695, allocations: 3.375 kB / 381.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.2714, allocations: 1.293 MB / 382.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2714, allocations: 1.375 kB / 382.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.2719, allocations: 128.7 kB / 382.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.272, allocations: 10.08 kB / 382.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.272, allocations: 14.61 kB / 382.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.272, allocations: 4.219 kB / 382.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.272, allocations: 8.875 kB / 382.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.2735, allocations: 0.973 MB / 383.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.2736, allocations: 133 kB / 384 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.2737, allocations: 15.88 kB / 384.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.274, allocations: 27.09 kB / 384.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.2742, allocations: 39.2 kB / 384.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.2742, allocations: 19.08 kB / 384.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.2744, allocations: 190.4 kB / 384.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2744, allocations: 0 / 384.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000535/0.2749, allocations: 184.1 kB / 384.5 MB, free: 12.61 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.0002027/0.2751, allocations: 154.1 kB / 384.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2765, allocations: 0.5574 MB / 385.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2765, allocations: 1.312 kB / 385.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.2769, allocations: 280.1 kB / 385.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.2774, allocations: 44.19 kB / 385.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.2792, allocations: 1.05 MB / 386.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2795, allocations: 0.8456 MB / 387.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003739/0.2798, allocations: 74.09 kB / 387.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.28, allocations: 46.59 kB / 387.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.28, allocations: 0 / 387.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Templates: time 0.009666/0.2897, allocations: 5.005 MB / 392.5 MB, free: 9.391 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches