Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001533/0.001533, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002096/0.002096, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.463/1.463, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2728, allocations: 53.39 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006117/0.2789, allocations: 3.802 MB / 435.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2821, allocations: 1.619 MB / 437.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.2827, allocations: 12 kB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.2852, allocations: 0.9373 MB / 438.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009289/0.2861, allocations: 238.2 kB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.288, allocations: 0.7308 MB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009637/0.2889, allocations: 0.5989 MB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.2898, allocations: 440.6 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.2904, allocations: 275 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.2911, allocations: 338.6 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.2912, allocations: 52 kB / 440.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.2919, allocations: 287.7 kB / 441.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.2921, allocations: 135.5 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.2924, allocations: 250.8 kB / 441.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.2938, allocations: 0.9492 MB / 442.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2938, allocations: 0 / 442.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2938, allocations: 0 / 442.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.2939, allocations: 0 / 442.5 MB, free: 11.8 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004133/0.298, allocations: 1.164 MB / 443.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.298, allocations: 8.031 kB / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.581e-05/0.2981, allocations: 22.19 kB / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.2983, allocations: 110.7 kB / 443.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.2995, allocations: 184.4 kB / 444 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.2998, allocations: 178.5 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.2998, allocations: 54.38 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.3, allocations: 72.31 kB / 444.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3014, allocations: 0.7285 MB / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3014, allocations: 0 / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.3015, allocations: 28 kB / 445.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3015, allocations: 16 kB / 445.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3028, allocations: 0.6101 MB / 445.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.3062, allocations: 1.868 MB / 447.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.3075, allocations: 0.6581 MB / 448.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.308, allocations: 258.9 kB / 448.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.3081, allocations: 24.64 kB / 448.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3082, allocations: 43.2 kB / 448.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.3082, allocations: 0 / 448.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001568/0.3097, allocations: 0.7086 MB / 449.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3098, allocations: 115.4 kB / 449.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3101, allocations: 264.8 kB / 449.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.3102, allocations: 37.7 kB / 449.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3103, allocations: 268.7 kB / 449.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.3105, allocations: 237.9 kB / 450.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.3107, allocations: 122.6 kB / 450.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3109, allocations: 350.7 kB / 450.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.3114, allocations: 205.9 kB / 450.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.3119, allocations: 335.1 kB / 451.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.3129, allocations: 0.5185 MB / 451.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3129, allocations: 0 / 451.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001262/0.3142, allocations: 0.6259 MB / 452.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3142, allocations: 8 kB / 452.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3142, allocations: 4.188 kB / 452.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3142, allocations: 4 kB / 452.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.315, allocations: 163.7 kB / 452.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.315, allocations: 4 kB / 452.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.3154, allocations: 71.55 kB / 452.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.3155, allocations: 24 kB / 452.6 MB, free: 1.461 MB / 350.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.0002537/0.3157, allocations: 197.6 kB / 452.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3158, allocations: 35.77 kB / 452.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3171, allocations: 0.6029 MB / 453.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3171, allocations: 8 kB / 453.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3171, allocations: 0 / 453.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3171, allocations: 3.984 kB / 453.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.3193, allocations: 1.202 MB / 454.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3193, allocations: 0 / 454.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.3199, allocations: 127.8 kB / 454.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.3199, allocations: 4 kB / 454.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.32, allocations: 15.94 kB / 454.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.32, allocations: 4 kB / 454.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.32, allocations: 0 / 454.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3217, allocations: 0.9785 MB / 455.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.3218, allocations: 43.67 kB / 455.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.3219, allocations: 19.92 kB / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.3223, allocations: 23.98 kB / 455.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3224, allocations: 52.5 kB / 455.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.3224, allocations: 19.94 kB / 455.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.3226, allocations: 200.5 kB / 456.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3226, allocations: 3.938 kB / 456.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005839/0.3232, allocations: 179.6 kB / 456.3 MB, free: 13.68 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 (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.002103/0.3253, allocations: 1.573 MB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3265, allocations: 0.5052 MB / 458.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3265, allocations: 0 / 458.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.3269, allocations: 247.6 kB / 458.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.3275, allocations: 52.8 kB / 458.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/0.3341, allocations: 4.194 MB / 462.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3344, allocations: 245.1 kB / 463.1 MB, free: 6.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.3348, allocations: 79.41 kB / 463.1 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.3351, allocations: 187.3 kB / 463.3 MB, free: 6.438 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3351, allocations: 0 / 463.3 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3463/0.6814, allocations: 10.11 MB / 473.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.13, allocations: 11.16 kB / 473.4 MB, free: 12.49 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.95549516705796]