Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2638, allocations: 53.4 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006014/0.2698, allocations: 4.381 MB / 435.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.2729, allocations: 1.744 MB / 437.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.2731, allocations: 15.94 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.2755, allocations: 1.034 MB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.2762, allocations: 258.2 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.2779, allocations: 0.7669 MB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008014/0.2787, allocations: 0.6338 MB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.2795, allocations: 470.4 kB / 440.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.2799, allocations: 282.9 kB / 440.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.2804, allocations: 362.5 kB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/0.2805, allocations: 56 kB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.2811, allocations: 295.7 kB / 441.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2812, allocations: 139.5 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.2815, allocations: 326.4 kB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.2828, allocations: 0.98 MB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2829, allocations: 4 kB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2829, allocations: 0 / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.2829, allocations: 0 / 442.9 MB, free: 10.91 MB / 350.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.003858/0.2867, allocations: 1.211 MB / 444.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2868, allocations: 15.97 kB / 444.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.2869, allocations: 122.7 kB / 444.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.2883, allocations: 200.4 kB / 444.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2885, allocations: 180.8 kB / 444.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.2885, allocations: 54.38 kB / 444.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.2887, allocations: 72.38 kB / 444.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2901, allocations: 0.7738 MB / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.2901, allocations: 0 / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.2902, allocations: 32 kB / 445.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2902, allocations: 20 kB / 445.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2915, allocations: 0.6649 MB / 446.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.296, allocations: 2.876 MB / 449.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2979, allocations: 0.8227 MB / 449.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.2985, allocations: 299.4 kB / 450.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.2986, allocations: 36.59 kB / 450.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.2987, allocations: 39.22 kB / 450.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.826e-06/0.2987, allocations: 0 / 450.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002696/0.3014, allocations: 0.9833 MB / 451.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.3015, allocations: 111.5 kB / 451.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.3018, allocations: 278 kB / 451.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.3018, allocations: 33.7 kB / 451.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.3021, allocations: 308.3 kB / 452 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.3023, allocations: 261.8 kB / 452.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.3025, allocations: 142.6 kB / 452.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3027, allocations: 350.7 kB / 452.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.3032, allocations: 229.9 kB / 452.9 MB, free: 480 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.3038, allocations: 386.2 kB / 453.3 MB, free: 40 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.305, allocations: 0.6337 MB / 454 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.305, allocations: 3.938 kB / 454 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001675/0.3067, allocations: 0.8385 MB / 454.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3067, allocations: 8 kB / 454.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3067, allocations: 4 kB / 454.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.3071, allocations: 125.7 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.3078, allocations: 159.7 kB / 455.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.3115, allocations: 3.579 MB / 458.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.312, allocations: 91.38 kB / 458.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.3121, allocations: 32 kB / 458.8 MB, free: 10.27 MB / 366.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.0002932/0.3124, allocations: 197.6 kB / 459 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3125, allocations: 47.78 kB / 459 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.3141, allocations: 0.7375 MB / 459.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3141, allocations: 8 kB / 459.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3141, allocations: 4 kB / 459.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3141, allocations: 7.922 kB / 459.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.3168, allocations: 1.457 MB / 461.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.3168, allocations: 4 kB / 461.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.3173, allocations: 115.8 kB / 461.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.3176, allocations: 105.6 kB / 461.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.3177, allocations: 20 kB / 461.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.3207, allocations: 3.15 MB / 464.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3207, allocations: 0 / 464.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.3227, allocations: 1.121 MB / 465.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3228, allocations: 51.66 kB / 465.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.3229, allocations: 15.95 kB / 465.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3232, allocations: 23.98 kB / 465.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3234, allocations: 56.55 kB / 465.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.3234, allocations: 19.98 kB / 465.9 MB, free: 2.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3236, allocations: 193.2 kB / 466.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3236, allocations: 3.938 kB / 466.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008613/0.3245, allocations: 219.7 kB / 466.3 MB, free: 2.395 MB / 366.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.002472/0.327, allocations: 1.719 MB / 468 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.3286, allocations: 0.8491 MB / 468.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3286, allocations: 0 / 468.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.3295, allocations: 0.5477 MB / 469.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.33, allocations: 40.44 kB / 469.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.3373, allocations: 4.745 MB / 474.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.3378, allocations: 0.8616 MB / 475.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.3381, allocations: 84.34 kB / 475.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.3384, allocations: 203.4 kB / 475.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3384, allocations: 0 / 475.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04852/0.3869, allocations: 11.46 MB / 486.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.53, allocations: 3.438 kB / 486.8 MB, free: 13.71 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cuboidRight.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.062843668001733]