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.001397/0.001397, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001532/0.001532, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.478/1.478, allocations: 230.4 MB / 254 MB, free: 15.02 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="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 0.001912/0.001912, allocations: 55.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 53.39 MB / 426.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006305/0.1158, allocations: 4.363 MB / 430.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2197/0.3355, allocations: 1.725 MB / 432.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.3358, allocations: 11.56 kB / 432.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.3377, allocations: 1.025 MB / 433.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.3383, allocations: 262.3 kB / 433.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.3395, allocations: 0.7642 MB / 434.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.34, allocations: 0.633 MB / 435.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006003/0.3406, allocations: 405.8 kB / 435.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.341, allocations: 285.8 kB / 435.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.3414, allocations: 352.8 kB / 436.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.3415, allocations: 58.41 kB / 436.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.3421, allocations: 291 kB / 436.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.3422, allocations: 140.6 kB / 436.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.3424, allocations: 328.6 kB / 437 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.3435, allocations: 0.9807 MB / 437.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3436, allocations: 8.875 kB / 438 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3436, allocations: 0 / 438 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3436, allocations: 0 / 438 MB, free: 6.27 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.003611/0.3472, allocations: 1.287 MB / 439.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3472, allocations: 14.25 kB / 439.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.3474, allocations: 124.5 kB / 439.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3488, allocations: 197.2 kB / 439.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3489, allocations: 235.8 kB / 439.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.349, allocations: 56.97 kB / 439.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3491, allocations: 72.81 kB / 439.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.3505, allocations: 0.7776 MB / 440.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3505, allocations: 2.422 kB / 440.7 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.3506, allocations: 30.91 kB / 440.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.3506, allocations: 18.38 kB / 440.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3519, allocations: 0.6662 MB / 441.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.3559, allocations: 3.266 MB / 444.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.3579, allocations: 2.014 MB / 446.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.3585, allocations: 300 kB / 447 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.3586, allocations: 186.1 kB / 447.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.3587, allocations: 39.42 kB / 447.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.3587, allocations: 1.219 kB / 447.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002796/0.3615, allocations: 1.139 MB / 448.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.3616, allocations: 110.8 kB / 448.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3619, allocations: 279.4 kB / 448.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.362, allocations: 36.02 kB / 448.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3622, allocations: 295.4 kB / 449.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.3624, allocations: 265.7 kB / 449.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.3627, allocations: 140 kB / 449.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3628, allocations: 352.5 kB / 449.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.3634, allocations: 228.4 kB / 450 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.364, allocations: 387.3 kB / 450.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.3653, allocations: 0.6393 MB / 451 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3653, allocations: 1.312 kB / 451 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001719/0.367, allocations: 0.8373 MB / 451.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.367, allocations: 7.688 kB / 451.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.367, allocations: 4.156 kB / 451.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/0.3674, allocations: 121.5 kB / 452 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.3681, allocations: 165.9 kB / 452.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.3721, allocations: 3.793 MB / 456 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.3727, allocations: 81.08 kB / 456 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.3728, allocations: 34.73 kB / 456.1 MB, free: 9.484 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.0002953/0.3731, allocations: 205.7 kB / 456.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3732, allocations: 43.84 kB / 456.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.3749, allocations: 0.7407 MB / 457.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3749, allocations: 7.094 kB / 457.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3749, allocations: 2.75 kB / 457.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.3749, allocations: 12.72 kB / 457.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.3778, allocations: 1.489 MB / 458.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3778, allocations: 1.625 kB / 458.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.3783, allocations: 114.3 kB / 458.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.3786, allocations: 109.3 kB / 458.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.3787, allocations: 15.16 kB / 458.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/0.3819, allocations: 3.349 MB / 462.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3819, allocations: 0 / 462.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.3839, allocations: 1.124 MB / 463.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.384, allocations: 133.2 kB / 463.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.3841, allocations: 10.72 kB / 463.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.3845, allocations: 30.58 kB / 463.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3846, allocations: 47.58 kB / 463.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3846, allocations: 24.59 kB / 463.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.3849, allocations: 190.5 kB / 463.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3849, allocations: 4.062 kB / 463.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008976/0.3858, allocations: 219.7 kB / 463.9 MB, free: 4.043 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.002485/0.3883, allocations: 1.716 MB / 465.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.39, allocations: 0.8445 MB / 466.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.39, allocations: 256 / 466.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.3909, allocations: 0.5436 MB / 467 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3914, allocations: 41.33 kB / 467.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/0.3991, allocations: 4.746 MB / 471.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.3997, allocations: 0.8629 MB / 472.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.4, allocations: 78.48 kB / 472.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.4003, allocations: 206.4 kB / 473 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4003, allocations: 0 / 473 MB, free: 13.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.4445, allocations: 10.93 MB / 483.9 MB, free: 5.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.99, allocations: 8 kB / 483.9 MB, free: 5.375 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable cuboidRight.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv. Warning: Get data of variable cuboidRight.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.526500133099034]