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.001524/0.001524, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002113/0.002113, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.461/1.461, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001924/0.001924, allocations: 67.73 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006168/0.1169, allocations: 4.182 MB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1201, allocations: 1.716 MB / 364.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1203, allocations: 12 kB / 364.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.1226, allocations: 1.007 MB / 365.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005807/0.1232, allocations: 242.2 kB / 365.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1249, allocations: 0.7546 MB / 366.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.1256, allocations: 0.6102 MB / 367 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/0.1263, allocations: 0.4918 MB / 367.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.1267, allocations: 271 kB / 367.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.1271, allocations: 334.6 kB / 368 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1273, allocations: 56 kB / 368.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.1278, allocations: 291.7 kB / 368.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.128, allocations: 127.5 kB / 368.5 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.1283, allocations: 310.5 kB / 368.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1293, allocations: 0.9267 MB / 369.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1293, allocations: 0 / 369.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1293, allocations: 4 kB / 369.7 MB, free: 2.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1294, allocations: 4 kB / 369.8 MB, free: 2.559 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.003565/0.1329, allocations: 1.228 MB / 371 MB, free: 1.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.133, allocations: 8.031 kB / 371 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.1342, allocations: 188.1 kB / 371.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1344, allocations: 241.8 kB / 371.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.1345, allocations: 50.38 kB / 371.5 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1346, allocations: 64.38 kB / 371.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1532/0.2878, allocations: 0.703 MB / 372.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.973e-05/0.2879, allocations: 4.844 kB / 372.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.2881, allocations: 22.5 kB / 372.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.2881, allocations: 16.06 kB / 372.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.2894, allocations: 0.5958 MB / 372.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.2925, allocations: 2.333 MB / 375.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.2939, allocations: 1.613 MB / 376.8 MB, free: 17.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.2944, allocations: 275.7 kB / 377.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.2946, allocations: 182.5 kB / 377.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2946, allocations: 46.38 kB / 377.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.805e-06/0.2946, allocations: 0 / 377.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001386/0.296, allocations: 0.6968 MB / 378 MB, free: 16.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.296, allocations: 114.5 kB / 378.1 MB, free: 16.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.2963, allocations: 257.5 kB / 378.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2963, allocations: 36.45 kB / 378.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2965, allocations: 261.8 kB / 378.6 MB, free: 16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2966, allocations: 232.5 kB / 378.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.2967, allocations: 116.8 kB / 379 MB, free: 15.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.2968, allocations: 348.5 kB / 379.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.2972, allocations: 207 kB / 379.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.2977, allocations: 304.2 kB / 379.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/0.2986, allocations: 0.5109 MB / 380.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2986, allocations: 2.391 kB / 380.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001126/0.2997, allocations: 0.6254 MB / 381 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2997, allocations: 5.312 kB / 381 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2998, allocations: 1.125 kB / 381 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.2998, allocations: 5.156 kB / 381 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.3005, allocations: 159.7 kB / 381.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3005, allocations: 9.016 kB / 381.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.301, allocations: 73.39 kB / 381.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.301, allocations: 27.95 kB / 381.2 MB, free: 14.61 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.0002081/0.3013, allocations: 187.4 kB / 381.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.3014, allocations: 42.02 kB / 381.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3026, allocations: 0.598 MB / 382.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3026, allocations: 7.859 kB / 382.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3026, allocations: 4 kB / 382.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.3027, allocations: 3.234 kB / 382.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3046, allocations: 1.29 MB / 383.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3046, allocations: 1.375 kB / 383.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.3051, allocations: 128.2 kB / 383.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3051, allocations: 7.625 kB / 383.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3052, allocations: 13.58 kB / 383.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3052, allocations: 7.266 kB / 383.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3052, allocations: 0 / 383.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.3067, allocations: 0.9732 MB / 384.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.3068, allocations: 131.4 kB / 384.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.3069, allocations: 12.08 kB / 384.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.3073, allocations: 27.56 kB / 384.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3074, allocations: 38.89 kB / 384.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.3074, allocations: 21.52 kB / 384.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3076, allocations: 192 kB / 384.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3076, allocations: 0.5469 kB / 384.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.3082, allocations: 182.7 kB / 385.1 MB, free: 12.59 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.0002312/0.3085, allocations: 144.2 kB / 385.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.3098, allocations: 0.5672 MB / 385.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3099, allocations: 1.25 kB / 385.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.3103, allocations: 270.3 kB / 386.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3108, allocations: 47.69 kB / 386.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3127, allocations: 1.116 MB / 387.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.313, allocations: 0.8413 MB / 388.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.3132, allocations: 53 kB / 388.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3132, allocations: 0 / 388.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Templates: time 0.009036/0.3223, allocations: 6.7 MB / 394.8 MB, free: 8.312 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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