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.001169/0.001169, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001255/0.001255, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8944/0.8944, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 2.655e-06/2.655e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.914e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004679/0.004708, allocations: 3.93 MB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.007957, allocations: 1.634 MB / 330.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.008384, allocations: 12 kB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.009809, allocations: 0.9952 MB / 331.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.01039, allocations: 266 kB / 331.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.01186, allocations: 0.7345 MB / 332.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007167/0.01258, allocations: 0.6644 MB / 332.8 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.01326, allocations: 465.3 kB / 333.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.01375, allocations: 411 kB / 333.6 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.01405, allocations: 271.2 kB / 333.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.01412, allocations: 56 kB / 333.9 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.01466, allocations: 283.5 kB / 334.2 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.01474, allocations: 139.4 kB / 334.3 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.01491, allocations: 219.4 kB / 334.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.01612, allocations: 1.012 MB / 335.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01612, allocations: 0 / 335.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01612, allocations: 0 / 335.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.01614, allocations: 0 / 335.6 MB, free: 4.812 MB / 298.7 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.002283/0.01842, allocations: 1.203 MB / 336.8 MB, free: 3.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.01847, allocations: 11.98 kB / 336.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.629e-05/0.01856, allocations: 122.8 kB / 336.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006968/0.01926, allocations: 196.4 kB / 337.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.01945, allocations: 184.9 kB / 337.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.0195, allocations: 58.38 kB / 337.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.0196, allocations: 80.36 kB / 337.4 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/0.02057, allocations: 0.7877 MB / 338.2 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.0206, allocations: 12.08 kB / 338.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.02065, allocations: 32.12 kB / 338.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.02067, allocations: 20 kB / 338.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.02152, allocations: 0.661 MB / 338.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.02423, allocations: 2.293 MB / 341.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.02536, allocations: 0.804 MB / 342 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.02575, allocations: 295.7 kB / 342.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.761e-05/0.02582, allocations: 24.64 kB / 342.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.02585, allocations: 43.22 kB / 342.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.02585, allocations: 4.219 kB / 342.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001819/0.02767, allocations: 0.9754 MB / 343.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.02773, allocations: 119.3 kB / 343.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.02796, allocations: 285.6 kB / 343.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.02799, allocations: 37.7 kB / 343.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.02814, allocations: 312.4 kB / 344.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.02827, allocations: 241.9 kB / 344.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.02841, allocations: 138.6 kB / 344.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.02852, allocations: 358.7 kB / 344.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.02882, allocations: 229.9 kB / 345 MB, free: 11.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.02922, allocations: 404 kB / 345.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.02995, allocations: 0.6376 MB / 346.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.02996, allocations: 4 kB / 346.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001047/0.031, allocations: 0.8307 MB / 346.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.03103, allocations: 12.09 kB / 346.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.03104, allocations: 4 kB / 346.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.03138, allocations: 129.6 kB / 347 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.03173, allocations: 167.8 kB / 347.2 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.03447, allocations: 3.558 MB / 350.8 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.03478, allocations: 79.44 kB / 350.8 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.03482, allocations: 35.98 kB / 350.9 MB, free: 4.848 MB / 314.7 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.0002177/0.03503, allocations: 193.7 kB / 351.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.0351, allocations: 43.72 kB / 351.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00092/0.03602, allocations: 0.7414 MB / 351.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.03602, allocations: 8 kB / 351.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.03603, allocations: 4 kB / 351.9 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.03604, allocations: 3.984 kB / 351.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.03766, allocations: 1.383 MB / 353.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.03766, allocations: 3.984 kB / 353.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.03791, allocations: 111.9 kB / 353.4 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.0381, allocations: 109.6 kB / 353.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.03813, allocations: 16 kB / 353.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.04015, allocations: 3.115 MB / 356.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.04016, allocations: 3.938 kB / 356.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.04133, allocations: 1.133 MB / 357.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.04139, allocations: 47.62 kB / 357.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.04143, allocations: 12 kB / 357.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.04162, allocations: 36.03 kB / 357.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.04171, allocations: 56.48 kB / 357.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.04174, allocations: 20 kB / 357.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.04186, allocations: 193.2 kB / 358.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04186, allocations: 0 / 358.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006114/0.04247, allocations: 219.6 kB / 358.3 MB, free: 13.07 MB / 330.7 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.00153/0.044, allocations: 1.716 MB / 360 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.04513, allocations: 0.8445 MB / 360.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.04513, allocations: 0 / 360.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.04561, allocations: 0.5407 MB / 361.4 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.04596, allocations: 43.88 kB / 361.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.05113, allocations: 4.719 MB / 366.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.05135, allocations: 265.5 kB / 366.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.05158, allocations: 80.36 kB / 366.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.05178, allocations: 200.4 kB / 366.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.05178, allocations: 0 / 366.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.0833, allocations: 11.82 MB / 378.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.522, allocations: 11.5 kB / 378.5 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/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: 9.177900107577443]