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.001561/0.001561, allocations: 117 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001135, allocations: 59.28 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1077, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006962/0.1147, allocations: 4.193 MB / 363.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.1186, allocations: 1.701 MB / 364.8 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.119, allocations: 15.94 kB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.1221, allocations: 1.019 MB / 365.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1231, allocations: 242.2 kB / 366.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1253, allocations: 0.7512 MB / 366.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009319/0.1262, allocations: 0.6141 MB / 367.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.1273, allocations: 0.4915 MB / 367.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.1279, allocations: 263 kB / 368.2 MB, free: 4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.1284, allocations: 338.6 kB / 368.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1285, allocations: 52 kB / 368.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.1294, allocations: 295.7 kB / 368.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1296, allocations: 135.5 kB / 369 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.1299, allocations: 306.5 kB / 369.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.1314, allocations: 0.9345 MB / 370.2 MB, free: 1.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1314, allocations: 4 kB / 370.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1314, allocations: 0 / 370.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1314, allocations: 0 / 370.2 MB, free: 1.953 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.005435/0.1369, allocations: 1.225 MB / 371.5 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.137, allocations: 12.02 kB / 371.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.1392, allocations: 184.1 kB / 371.7 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1396, allocations: 241.8 kB / 371.9 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.1397, allocations: 50.38 kB / 371.9 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.1399, allocations: 64.38 kB / 372 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2085/0.3484, allocations: 0.6983 MB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.3485, allocations: 1.172 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.855e-05/0.3486, allocations: 26 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.3487, allocations: 18.02 kB / 372.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.35, allocations: 0.5973 MB / 373.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.3534, allocations: 2.313 MB / 375.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3548, allocations: 1.62 MB / 377.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.3553, allocations: 273.8 kB / 377.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.3555, allocations: 182 kB / 377.7 MB, free: 16.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3555, allocations: 39.97 kB / 377.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.3555, allocations: 1.375 kB / 377.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001359/0.3569, allocations: 0.7031 MB / 378.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.357, allocations: 110.8 kB / 378.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.3572, allocations: 259.7 kB / 378.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.3573, allocations: 36.83 kB / 378.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3574, allocations: 261.7 kB / 379.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3575, allocations: 226.4 kB / 379.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3577, allocations: 114.2 kB / 379.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.3578, allocations: 350.3 kB / 379.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.3582, allocations: 209.5 kB / 380 MB, free: 15.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.3587, allocations: 307.9 kB / 380.3 MB, free: 15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000854/0.3596, allocations: 0.5116 MB / 380.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3596, allocations: 1.156 kB / 380.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001098/0.3607, allocations: 0.6278 MB / 381.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3607, allocations: 6.938 kB / 381.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3607, allocations: 1.344 kB / 381.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3608, allocations: 9.562 kB / 381.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.3615, allocations: 158.6 kB / 381.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.3615, allocations: 4.719 kB / 381.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.3619, allocations: 69.72 kB / 381.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.362, allocations: 26.64 kB / 381.7 MB, free: 14.43 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.0001992/0.3622, allocations: 191 kB / 381.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.3623, allocations: 43.75 kB / 381.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.3635, allocations: 0.5958 MB / 382.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.3635, allocations: 7.203 kB / 382.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3635, allocations: 1.688 kB / 382.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3635, allocations: 4.297 kB / 382.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.3655, allocations: 1.281 MB / 383.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3655, allocations: 6.141 kB / 383.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.366, allocations: 127.4 kB / 384 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.3661, allocations: 7.156 kB / 384 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3661, allocations: 13.34 kB / 384 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3661, allocations: 7.938 kB / 384 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3661, allocations: 0 / 384 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3675, allocations: 0.9687 MB / 385 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.3676, allocations: 131.5 kB / 385.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.3677, allocations: 13.42 kB / 385.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.3681, allocations: 29.67 kB / 385.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3682, allocations: 46.67 kB / 385.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.3682, allocations: 17.94 kB / 385.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3684, allocations: 191.3 kB / 385.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3684, allocations: 0 / 385.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005633/0.369, allocations: 180.3 kB / 385.5 MB, free: 12.42 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.0002333/0.3692, allocations: 148.3 kB / 385.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3703, allocations: 0.5298 MB / 386.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3703, allocations: 0 / 386.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.3708, allocations: 280.5 kB / 386.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.3713, allocations: 50.39 kB / 386.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3732, allocations: 1.068 MB / 387.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3735, allocations: 0.8453 MB / 388.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.3738, allocations: 76.5 kB / 388.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3739, allocations: 45.83 kB / 388.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3739, allocations: 0 / 388.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01091/0.3849, allocations: 5.106 MB / 393.7 MB, free: 9.043 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 -s cvode -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