Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 105.5 kB / 17.59 MB, free: 5.445 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.001758/0.001758, allocations: 187.6 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 43.38 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09278, allocations: 49.46 MB / 350.8 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005438/0.09825, allocations: 4.313 MB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.1011, allocations: 1.65 MB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.1015, allocations: 12 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.1037, allocations: 1.019 MB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.1044, allocations: 250.2 kB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1059, allocations: 0.7972 MB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.1065, allocations: 0.6299 MB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007364/0.1072, allocations: 0.5249 MB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.1076, allocations: 274.9 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.108, allocations: 358.5 kB / 360.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.1081, allocations: 56 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.1086, allocations: 271.8 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1087, allocations: 143.5 kB / 361 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.109, allocations: 318.4 kB / 361.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009394/0.1099, allocations: 0.9578 MB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.11, allocations: 0 / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.11, allocations: 0 / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.11, allocations: 0 / 362.3 MB, free: 8.805 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003591/0.1136, allocations: 1.264 MB / 363.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1136, allocations: 8.031 kB / 363.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.115, allocations: 204 kB / 363.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1153, allocations: 247.3 kB / 364 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.1153, allocations: 58.38 kB / 364.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.1155, allocations: 72.38 kB / 364.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1169, allocations: 0.7702 MB / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.1169, allocations: 0 / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.117, allocations: 32 kB / 364.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.117, allocations: 16 kB / 364.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1183, allocations: 0.6688 MB / 365.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.1223, allocations: 3.103 MB / 368.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.177/0.2993, allocations: 2.07 MB / 370.8 MB, free: 24.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008867/0.3003, allocations: 328.7 kB / 371.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.3004, allocations: 103.3 kB / 371.2 MB, free: 24.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.3005, allocations: 41.02 kB / 371.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/0.3005, allocations: 0.75 kB / 371.3 MB, free: 24.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002705/0.3032, allocations: 1.147 MB / 372.4 MB, free: 24.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3033, allocations: 114.7 kB / 372.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3036, allocations: 270.2 kB / 372.8 MB, free: 24.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.3036, allocations: 39.95 kB / 372.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3038, allocations: 301.7 kB / 373.1 MB, free: 24.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.304, allocations: 239.4 kB / 373.3 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3042, allocations: 137.8 kB / 373.5 MB, free: 23.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.3043, allocations: 348.4 kB / 373.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.3048, allocations: 228.5 kB / 374 MB, free: 23.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.3055, allocations: 389.6 kB / 374.4 MB, free: 23.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.3066, allocations: 0.6349 MB / 375.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3066, allocations: 2.641 kB / 375.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001538/0.3081, allocations: 0.833 MB / 375.9 MB, free: 22.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3082, allocations: 5.5 kB / 375.9 MB, free: 22.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3082, allocations: 7.547 kB / 375.9 MB, free: 22.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.3086, allocations: 125.7 kB / 376 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.3093, allocations: 167.2 kB / 376.2 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.312, allocations: 3.791 MB / 380 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.3126, allocations: 82.22 kB / 380.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.3126, allocations: 28.45 kB / 380.1 MB, free: 18.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.3129, allocations: 212.2 kB / 380.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.313, allocations: 40.44 kB / 380.3 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.3146, allocations: 0.7528 MB / 381.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.3146, allocations: 6.344 kB / 381.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3146, allocations: 3.031 kB / 381.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3147, allocations: 5.531 kB / 381.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.3172, allocations: 1.495 MB / 382.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3172, allocations: 0 / 382.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.3177, allocations: 108.8 kB / 382.7 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.318, allocations: 113.9 kB / 382.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.3181, allocations: 19.84 kB / 382.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.3201, allocations: 3.342 MB / 386.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3201, allocations: 3.828 kB / 386.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.3221, allocations: 1.135 MB / 387.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3222, allocations: 123.8 kB / 387.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.3223, allocations: 20.53 kB / 387.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.3227, allocations: 29.61 kB / 387.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3228, allocations: 54.7 kB / 387.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.3229, allocations: 20.62 kB / 387.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3231, allocations: 190.5 kB / 387.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3231, allocations: 0 / 387.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008866/0.324, allocations: 220.3 kB / 388 MB, free: 13.44 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.3242, allocations: 148.2 kB / 388.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.3262, allocations: 0.9035 MB / 389 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3262, allocations: 1.156 kB / 389 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.327, allocations: 0.564 MB / 389.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.3276, allocations: 40.19 kB / 389.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3297, allocations: 1.151 MB / 390.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3301, allocations: 0.8642 MB / 391.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.3303, allocations: 50.14 kB / 391.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3303, allocations: 0 / 391.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01295/0.3433, allocations: 11.5 MB / 403.2 MB, free: 4.48 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches