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.001956/0.001956, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002312/0.002312, allocations: 208.8 kB / 24.51 MB, free: 3.941 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.52/1.52, allocations: 230.5 MB / 258.2 MB, free: 7.812 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 60.05 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2592, allocations: 53.4 MB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005593/0.2648, allocations: 3.929 MB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.2678, allocations: 1.615 MB / 437.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.268, allocations: 12 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.2703, allocations: 0.9567 MB / 438.4 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.2709, allocations: 254.3 kB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2724, allocations: 0.7231 MB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00068/0.2731, allocations: 0.6377 MB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.2738, allocations: 471.5 kB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.2742, allocations: 286.9 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.2746, allocations: 350.6 kB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.2747, allocations: 56 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.2752, allocations: 291.7 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2753, allocations: 139.5 kB / 441.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.2756, allocations: 270.7 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2767, allocations: 0.9806 MB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2767, allocations: 0 / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2767, allocations: 0 / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.2767, allocations: 0 / 442.8 MB, free: 11.65 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.003745/0.2804, allocations: 1.215 MB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.2805, allocations: 8.031 kB / 444.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.012e-05/0.2805, allocations: 22.19 kB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.2807, allocations: 122.8 kB / 444.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.2821, allocations: 196.4 kB / 444.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.2824, allocations: 184.7 kB / 444.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.2824, allocations: 58.38 kB / 444.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.2826, allocations: 76.36 kB / 444.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.2841, allocations: 0.7949 MB / 445.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.2841, allocations: 11.89 kB / 445.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.519e-05/0.2842, allocations: 28 kB / 445.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.2842, allocations: 20 kB / 445.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.2856, allocations: 0.661 MB / 446.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.2896, allocations: 2.291 MB / 448.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.292, allocations: 0.8151 MB / 449.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/0.2929, allocations: 303.6 kB / 449.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.293, allocations: 28.64 kB / 449.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.2931, allocations: 39.22 kB / 449.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 4.428e-06/0.2931, allocations: 0 / 449.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002771/0.2958, allocations: 0.9833 MB / 450.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.2959, allocations: 115.4 kB / 450.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.2962, allocations: 273.8 kB / 451 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.2963, allocations: 41.7 kB / 451.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2965, allocations: 304.4 kB / 451.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.2967, allocations: 253.8 kB / 451.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.297, allocations: 142.5 kB / 451.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2971, allocations: 358.7 kB / 452.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.2976, allocations: 233.9 kB / 452.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.2982, allocations: 408 kB / 452.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2993, allocations: 0.6415 MB / 453.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2993, allocations: 4 kB / 453.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001564/0.3009, allocations: 0.8267 MB / 454.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3009, allocations: 8 kB / 454.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3009, allocations: 4 kB / 454.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/0.3013, allocations: 129.8 kB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.302, allocations: 159.8 kB / 454.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.3054, allocations: 3.551 MB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.3059, allocations: 91.72 kB / 458.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.3059, allocations: 32 kB / 458.2 MB, free: 11.65 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.0002716/0.3062, allocations: 197.7 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3063, allocations: 43.72 kB / 458.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.3078, allocations: 0.7452 MB / 459.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3078, allocations: 8 kB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3079, allocations: 4 kB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3079, allocations: 7.922 kB / 459.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.3103, allocations: 1.383 MB / 460.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3103, allocations: 4 kB / 460.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.3108, allocations: 107.9 kB / 460.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.3111, allocations: 113.6 kB / 460.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.3111, allocations: 12 kB / 460.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.3139, allocations: 3.123 MB / 463.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3139, allocations: 3.984 kB / 463.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3158, allocations: 1.121 MB / 465.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.3159, allocations: 43.67 kB / 465.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.3159, allocations: 15.95 kB / 465.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3163, allocations: 27.97 kB / 465.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3165, allocations: 56.55 kB / 465.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.3165, allocations: 20 kB / 465.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.3167, allocations: 197.3 kB / 465.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3167, allocations: 0 / 465.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008062/0.3175, allocations: 219.6 kB / 465.6 MB, free: 3.871 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.0024/0.3199, allocations: 1.728 MB / 467.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3215, allocations: 0.8484 MB / 468.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3215, allocations: 0 / 468.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.3224, allocations: 0.5368 MB / 468.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.3229, allocations: 50.56 kB / 468.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.3304, allocations: 4.741 MB / 473.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3307, allocations: 265.5 kB / 473.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.331, allocations: 84.34 kB / 473.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.3313, allocations: 199.4 kB / 474.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3313, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/0.4754, allocations: 11.57 MB / 485.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/13.84, allocations: 16 kB / 485.6 MB, free: 15.71 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.568754645064473]