Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 183.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 224.5 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 47.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1058, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005448/0.1113, allocations: 4.15 MB / 379.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2005/0.3118, allocations: 1.665 MB / 381 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.3121, allocations: 10.59 kB / 381 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.3143, allocations: 1.007 MB / 382 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005627/0.3149, allocations: 232 kB / 382.2 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3163, allocations: 0.7913 MB / 383 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008439/0.3172, allocations: 0.6236 MB / 383.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008149/0.318, allocations: 0.4948 MB / 384.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.3185, allocations: 264.7 kB / 384.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.3189, allocations: 343 kB / 384.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.319, allocations: 53.78 kB / 384.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.3196, allocations: 266.5 kB / 385 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3198, allocations: 135.5 kB / 385.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.32, allocations: 307 kB / 385.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3212, allocations: 0.9145 MB / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3212, allocations: 0 / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3213, allocations: 1.531 kB / 386.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3213, allocations: 0 / 386.4 MB, free: 8.277 MB / 318.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.003393/0.3247, allocations: 1.227 MB / 387.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3247, allocations: 9 kB / 387.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3259, allocations: 176.5 kB / 387.8 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.326, allocations: 248.2 kB / 388 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.3261, allocations: 48.91 kB / 388.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3262, allocations: 72.91 kB / 388.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.3275, allocations: 0.7055 MB / 388.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.3275, allocations: 0.8438 kB / 388.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.3276, allocations: 26.81 kB / 388.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3276, allocations: 15.69 kB / 388.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.329, allocations: 0.5993 MB / 389.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.3321, allocations: 2.307 MB / 391.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3335, allocations: 1.632 MB / 393.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.334, allocations: 269.7 kB / 393.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3342, allocations: 99.19 kB / 393.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3342, allocations: 42.97 kB / 393.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.295e-06/0.3342, allocations: 0 / 393.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.00159/0.3358, allocations: 0.7009 MB / 394.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3359, allocations: 113.8 kB / 394.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.3362, allocations: 266 kB / 394.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3362, allocations: 36.77 kB / 394.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3364, allocations: 272 kB / 395.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3365, allocations: 237.8 kB / 395.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.3367, allocations: 114.3 kB / 395.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.3368, allocations: 347.4 kB / 395.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.3373, allocations: 211 kB / 396.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.3378, allocations: 303.7 kB / 396.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.3388, allocations: 0.5122 MB / 396.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3388, allocations: 1.375 kB / 396.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00119/0.34, allocations: 0.6344 MB / 397.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.3401, allocations: 5.75 kB / 397.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3401, allocations: 2.406 kB / 397.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3401, allocations: 8.406 kB / 397.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.3408, allocations: 160.8 kB / 397.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3408, allocations: 6.078 kB / 397.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.3413, allocations: 80.33 kB / 397.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.3413, allocations: 23.67 kB / 397.8 MB, free: 1.234 MB / 318.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.0002007/0.3416, allocations: 192.1 kB / 398 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.3416, allocations: 37.89 kB / 398 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3429, allocations: 0.6049 MB / 398.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3429, allocations: 10.88 kB / 398.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3429, allocations: 0 / 398.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3429, allocations: 4.938 kB / 398.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.3451, allocations: 1.29 MB / 399.9 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3451, allocations: 1.219 kB / 399.9 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.3456, allocations: 128.5 kB / 400.1 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3457, allocations: 7.938 kB / 400.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.3457, allocations: 13.5 kB / 400.1 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3457, allocations: 6.688 kB / 400.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3457, allocations: 2.391 kB / 400.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3475, allocations: 0.9724 MB / 401.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3476, allocations: 119.7 kB / 401.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.3477, allocations: 15.19 kB / 401.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.3481, allocations: 32.8 kB / 401.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3482, allocations: 38.31 kB / 401.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.3483, allocations: 19.03 kB / 401.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3485, allocations: 197.8 kB / 401.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.3485, allocations: 0 / 401.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.3491, allocations: 182 kB / 401.7 MB, free: 15.19 MB / 334.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.0002921/0.3494, allocations: 148.4 kB / 401.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.3506, allocations: 0.5336 MB / 402.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3506, allocations: 4.062 kB / 402.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.3511, allocations: 277.2 kB / 402.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3517, allocations: 48.55 kB / 402.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.3539, allocations: 1.068 MB / 403.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.3543, allocations: 0.8458 MB / 404.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.3547, allocations: 77.89 kB / 404.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3548, allocations: 48.03 kB / 404.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3548, allocations: 0 / 404.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of Templates: time 0.01029/0.3651, allocations: 5.176 MB / 409.9 MB, free: 11.05 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches