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.001538/0.001538, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001708/0.001708, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.426/1.426, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001245/0.001245, allocations: 55.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.1003, allocations: 46.63 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005315/0.1057, allocations: 4.138 MB / 379.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2059/0.3116, allocations: 1.666 MB / 381 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.3121, allocations: 11 kB / 381 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.3146, allocations: 1.009 MB / 382 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.3154, allocations: 233.9 kB / 382.2 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.317, allocations: 0.7862 MB / 383 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.318, allocations: 0.6274 MB / 383.6 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.3187, allocations: 0.497 MB / 384.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.3192, allocations: 268.8 kB / 384.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.3197, allocations: 339.1 kB / 384.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.3198, allocations: 54.31 kB / 384.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.3203, allocations: 262.9 kB / 385 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.3204, allocations: 136 kB / 385.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.3207, allocations: 306.2 kB / 385.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3218, allocations: 0.9166 MB / 386.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3218, allocations: 1.406 kB / 386.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3218, allocations: 4 kB / 386.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3218, allocations: 0 / 386.4 MB, free: 8.238 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.003431/0.3252, allocations: 1.202 MB / 387.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3253, allocations: 11.06 kB / 387.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.3264, allocations: 170.4 kB / 387.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3266, allocations: 249 kB / 388 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.3267, allocations: 49.59 kB / 388 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3268, allocations: 67.34 kB / 388.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3281, allocations: 0.701 MB / 388.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3281, allocations: 1.766 kB / 388.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.3282, allocations: 30.62 kB / 388.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.3282, allocations: 22.05 kB / 388.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.3296, allocations: 0.5985 MB / 389.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.3326, allocations: 2.306 MB / 391.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.334, allocations: 1.631 MB / 393.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.3345, allocations: 274.6 kB / 393.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3347, allocations: 103.9 kB / 393.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3347, allocations: 39.14 kB / 393.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.3347, allocations: 0 / 393.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001522/0.3362, allocations: 0.7 MB / 394.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3363, allocations: 119.4 kB / 394.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3366, allocations: 253.2 kB / 394.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3366, allocations: 36.11 kB / 394.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3367, allocations: 268.2 kB / 395.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3369, allocations: 225.5 kB / 395.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3371, allocations: 118.5 kB / 395.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.3371, allocations: 346.8 kB / 395.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.3376, allocations: 210.7 kB / 396 MB, free: 2.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.3382, allocations: 303.9 kB / 396.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/0.3391, allocations: 0.5166 MB / 396.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3391, allocations: 1.969 kB / 396.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00119/0.3403, allocations: 0.6216 MB / 397.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3403, allocations: 6.797 kB / 397.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3404, allocations: 1.469 kB / 397.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3404, allocations: 8.625 kB / 397.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.3411, allocations: 164.3 kB / 397.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3411, allocations: 6.141 kB / 397.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.3416, allocations: 72.94 kB / 397.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.3417, allocations: 31.95 kB / 397.8 MB, free: 1.246 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.0002015/0.3419, allocations: 187.7 kB / 398 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.342, allocations: 38.53 kB / 398 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3432, allocations: 0.6084 MB / 398.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3432, allocations: 6.875 kB / 398.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3432, allocations: 0 / 398.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3432, allocations: 4.375 kB / 398.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3452, allocations: 1.282 MB / 399.9 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3453, allocations: 5.219 kB / 399.9 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/0.3458, allocations: 129.4 kB / 400 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3459, allocations: 2.75 kB / 400 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3459, allocations: 18.05 kB / 400 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3459, allocations: 6.688 kB / 400 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3459, allocations: 1.938 kB / 400.1 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.3476, allocations: 0.9636 MB / 401 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3477, allocations: 128.2 kB / 401.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.3478, allocations: 12.34 kB / 401.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.3482, allocations: 31 kB / 401.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3483, allocations: 50.94 kB / 401.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3484, allocations: 18.64 kB / 401.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.3486, allocations: 186.1 kB / 401.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3486, allocations: 5.219 kB / 401.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006017/0.3492, allocations: 177.9 kB / 401.6 MB, free: 15.21 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.0002346/0.3494, allocations: 139.6 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3506, allocations: 0.5369 MB / 402.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3506, allocations: 0 / 402.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.3512, allocations: 275.2 kB / 402.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.3517, allocations: 42.52 kB / 402.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.3539, allocations: 1.069 MB / 403.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3543, allocations: 0.8432 MB / 404.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.3547, allocations: 80.31 kB / 404.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3548, allocations: 49.06 kB / 404.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3548, allocations: 0 / 404.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Templates: time 0.01022/0.365, allocations: 5.17 MB / 409.8 MB, free: 11.11 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