Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001317/0.001317, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001402/0.001402, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09718, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006599/0.1038, allocations: 4.365 MB / 430.7 MB, free: 408 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1917/0.2955, allocations: 1.731 MB / 432.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.2958, allocations: 12.88 kB / 432.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.298, allocations: 1.023 MB / 433.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007708/0.2988, allocations: 259.9 kB / 433.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3002, allocations: 0.7787 MB / 434.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.3009, allocations: 0.6309 MB / 435.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.3016, allocations: 402.2 kB / 435.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.302, allocations: 280.9 kB / 435.8 MB, free: 7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.3024, allocations: 362.4 kB / 436.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.3025, allocations: 56.28 kB / 436.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.3032, allocations: 291.9 kB / 436.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3033, allocations: 140 kB / 436.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.3036, allocations: 329.4 kB / 436.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.305, allocations: 0.9787 MB / 437.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.305, allocations: 0 / 437.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.305, allocations: 1.219 kB / 437.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.3051, allocations: 0 / 437.9 MB, free: 6.336 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.004016/0.3091, allocations: 1.29 MB / 439.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/0.3092, allocations: 9.844 kB / 439.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.3093, allocations: 124.3 kB / 439.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3108, allocations: 196.5 kB / 439.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.311, allocations: 240.5 kB / 439.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.3111, allocations: 56.66 kB / 439.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3112, allocations: 72.31 kB / 439.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.3128, allocations: 0.7746 MB / 440.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.3128, allocations: 1.891 kB / 440.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.3129, allocations: 30.16 kB / 440.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.3129, allocations: 18.69 kB / 440.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.3144, allocations: 0.6666 MB / 441.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.319, allocations: 3.265 MB / 444.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.3212, allocations: 2.018 MB / 446.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.3218, allocations: 296 kB / 446.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.3219, allocations: 186.7 kB / 447.1 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.322, allocations: 42.91 kB / 447.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.105e-06/0.322, allocations: 0 / 447.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002862/0.3249, allocations: 1.141 MB / 448.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.325, allocations: 112.2 kB / 448.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.3253, allocations: 277.5 kB / 448.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.3254, allocations: 40.73 kB / 448.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.3256, allocations: 297 kB / 449 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.3259, allocations: 259.5 kB / 449.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.3261, allocations: 137 kB / 449.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.3263, allocations: 353.1 kB / 449.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.3269, allocations: 232.5 kB / 450 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/0.3276, allocations: 382.9 kB / 450.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3289, allocations: 0.6441 MB / 451 MB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3289, allocations: 1.25 kB / 451 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00189/0.3308, allocations: 0.8354 MB / 451.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3308, allocations: 6.562 kB / 451.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3308, allocations: 6.047 kB / 451.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.3313, allocations: 126.6 kB / 452 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/0.332, allocations: 153.5 kB / 452.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.3358, allocations: 3.792 MB / 455.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.3364, allocations: 84.3 kB / 456 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.3364, allocations: 33.28 kB / 456 MB, free: 9.559 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.0003302/0.3367, allocations: 199.5 kB / 456.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3369, allocations: 45.61 kB / 456.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.3386, allocations: 0.7398 MB / 457 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3386, allocations: 8.188 kB / 457 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3386, allocations: 4.047 kB / 457 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.3386, allocations: 6.984 kB / 457 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.3413, allocations: 1.487 MB / 458.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3413, allocations: 1.297 kB / 458.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.3418, allocations: 114.2 kB / 458.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003139/0.3421, allocations: 117.7 kB / 458.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.3422, allocations: 14.38 kB / 458.8 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.3454, allocations: 3.357 MB / 462.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3454, allocations: 1.219 kB / 462.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.3475, allocations: 1.119 MB / 463.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3476, allocations: 129.3 kB / 463.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3477, allocations: 18.05 kB / 463.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.3481, allocations: 29.98 kB / 463.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.3482, allocations: 56.95 kB / 463.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.3483, allocations: 19.67 kB / 463.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.3485, allocations: 194.5 kB / 463.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3485, allocations: 0 / 463.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008945/0.3494, allocations: 215.6 kB / 463.9 MB, free: 4.117 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.002555/0.3519, allocations: 1.723 MB / 465.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.3537, allocations: 0.8429 MB / 466.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3537, allocations: 1.469 kB / 466.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.3547, allocations: 0.5332 MB / 467 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.3552, allocations: 47.45 kB / 467 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/0.3631, allocations: 4.748 MB / 471.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.3637, allocations: 0.8581 MB / 472.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.364, allocations: 82.39 kB / 472.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.3643, allocations: 205.7 kB / 472.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3643, allocations: 1.219 kB / 472.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0456/0.4099, allocations: 10.93 MB / 483.8 MB, free: 5.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.19, allocations: 2.75 kB / 483.8 MB, free: 5.523 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.562747908057645]