Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005573/0.005573, allocations: 114.1 kB / 21.97 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 214.9 kB / 25.28 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 47.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3819, allocations: 49.16 MB / 397.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005572/0.3874, allocations: 4.331 MB / 401.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.3907, allocations: 1.706 MB / 403.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.3911, allocations: 12.62 kB / 403.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.3934, allocations: 1.027 MB / 404.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007822/0.3942, allocations: 248.7 kB / 404.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3957, allocations: 0.7631 MB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007293/0.3964, allocations: 0.6431 MB / 405.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007164/0.3971, allocations: 479.6 kB / 406.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3975, allocations: 279.6 kB / 406.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.3979, allocations: 363.6 kB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.398, allocations: 55.66 kB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.3987, allocations: 270.5 kB / 407.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3988, allocations: 140.1 kB / 407.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.3991, allocations: 324.4 kB / 407.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.4004, allocations: 0.957 MB / 408.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4004, allocations: 0 / 408.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4004, allocations: 4 kB / 408.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.4004, allocations: 0 / 408.7 MB, free: 1.789 MB / 318.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.004167/0.4046, allocations: 1.196 MB / 409.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.4046, allocations: 13.52 kB / 409.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.122e-05/0.4047, allocations: 23.94 kB / 409.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.4049, allocations: 120.6 kB / 410 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.4064, allocations: 210.4 kB / 410.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.4066, allocations: 194.7 kB / 410.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.4067, allocations: 56.62 kB / 410.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.4068, allocations: 73.16 kB / 410.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.4083, allocations: 0.7683 MB / 411.3 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.4083, allocations: 5.719 kB / 411.3 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.4083, allocations: 31 kB / 411.4 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.4084, allocations: 17.69 kB / 411.4 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4097, allocations: 0.6672 MB / 412.1 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004678/0.4144, allocations: 2.858 MB / 414.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.4164, allocations: 0.8094 MB / 415.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.4171, allocations: 290.4 kB / 416 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.4172, allocations: 22.12 kB / 416 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.4173, allocations: 50.84 kB / 416.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.146e-06/0.4173, allocations: 0 / 416.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002909/0.4202, allocations: 0.9796 MB / 417.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4203, allocations: 111.2 kB / 417.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.4207, allocations: 272.7 kB / 417.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.4207, allocations: 41.11 kB / 417.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.421, allocations: 309 kB / 417.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.4212, allocations: 250.6 kB / 418 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.4215, allocations: 146.9 kB / 418.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4217, allocations: 351.8 kB / 418.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.4223, allocations: 225.7 kB / 418.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.423, allocations: 384.6 kB / 419.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.4244, allocations: 0.6402 MB / 419.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4244, allocations: 1.125 kB / 419.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001874/0.4262, allocations: 0.8289 MB / 420.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.4263, allocations: 6.875 kB / 420.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4263, allocations: 4.125 kB / 420.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/0.4268, allocations: 130.3 kB / 420.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.4275, allocations: 157.2 kB / 420.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.4316, allocations: 3.584 MB / 424.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/0.4322, allocations: 88.02 kB / 424.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4323, allocations: 34.45 kB / 424.6 MB, free: 6.438 MB / 334.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.0004085/0.4327, allocations: 199 kB / 424.8 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.4328, allocations: 47.62 kB / 424.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4345, allocations: 0.7461 MB / 425.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.4345, allocations: 6.969 kB / 425.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4345, allocations: 2.938 kB / 425.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4346, allocations: 7.922 kB / 425.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.4374, allocations: 1.453 MB / 427 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4374, allocations: 0 / 427 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.438, allocations: 115.9 kB / 427.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003199/0.4383, allocations: 110.1 kB / 427.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.4383, allocations: 16 kB / 427.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.4416, allocations: 3.154 MB / 430.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4416, allocations: 4.031 kB / 430.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.4437, allocations: 1.117 MB / 431.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4438, allocations: 51.56 kB / 431.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.4439, allocations: 19.92 kB / 431.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.4443, allocations: 35.98 kB / 431.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4444, allocations: 52.55 kB / 431.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.4445, allocations: 20 kB / 431.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4447, allocations: 193.2 kB / 431.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4447, allocations: 0 / 431.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009678/0.4457, allocations: 211.7 kB / 432.1 MB, free: 15.25 MB / 350.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.002579/0.4482, allocations: 1.708 MB / 433.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.4501, allocations: 0.8522 MB / 434.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4501, allocations: 0 / 434.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.451, allocations: 0.5291 MB / 435.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.4516, allocations: 40.5 kB / 435.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/0.4599, allocations: 4.783 MB / 440 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.4606, allocations: 0.8577 MB / 440.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.461, allocations: 88.34 kB / 441 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.4614, allocations: 199.3 kB / 441.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 1.954e-06/0.4614, allocations: 0 / 441.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.5117, allocations: 11.36 MB / 452.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.55, allocations: 3.984 kB / 452.5 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.937215776997618]