Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001906/0.001906, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002291/0.002291, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 59.91 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2304, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007071/0.2375, allocations: 5.015 MB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.2411, allocations: 1.764 MB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.2416, allocations: 16 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.2454, allocations: 1.499 MB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.247, allocations: 0.5905 MB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.2479, allocations: 383 kB / 440.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.249, allocations: 0.8055 MB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2502, allocations: 0.7354 MB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005511/0.2508, allocations: 366.6 kB / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.2514, allocations: 434.1 kB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.2516, allocations: 80 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005804/0.2522, allocations: 227.9 kB / 443 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.2524, allocations: 191.3 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.2529, allocations: 338.4 kB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.2544, allocations: 1.185 MB / 444.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2544, allocations: 4 kB / 444.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2544, allocations: 4 kB / 444.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.2545, allocations: 0 / 444.7 MB, free: 8.789 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00368/0.2581, allocations: 1.296 MB / 446 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2582, allocations: 11.98 kB / 446 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.2584, allocations: 148.3 kB / 446.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.2629, allocations: 0.6248 MB / 446.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/0.2637, allocations: 360.1 kB / 447.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.2638, allocations: 70.38 kB / 447.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.2639, allocations: 100.3 kB / 447.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.2658, allocations: 1.023 MB / 448.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.2658, allocations: 4 kB / 448.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/0.2659, allocations: 36 kB / 448.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.2659, allocations: 24 kB / 448.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.2676, allocations: 0.9252 MB / 449.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.2724, allocations: 2.905 MB / 452.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.2743, allocations: 0.7454 MB / 453 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.2748, allocations: 259.8 kB / 453.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.892e-05/0.2749, allocations: 20.64 kB / 453.3 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.2749, allocations: 55.14 kB / 453.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.254e-06/0.2749, allocations: 0 / 453.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00147/0.2764, allocations: 0.724 MB / 454 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.2765, allocations: 111.5 kB / 454.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.2768, allocations: 289.6 kB / 454.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.2768, allocations: 33.7 kB / 454.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.2771, allocations: 396 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.2773, allocations: 234.3 kB / 455.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.2775, allocations: 142.6 kB / 455.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2777, allocations: 350.8 kB / 455.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.2781, allocations: 217.9 kB / 455.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.2787, allocations: 443.4 kB / 456.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.2798, allocations: 0.6929 MB / 456.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2798, allocations: 4 kB / 456.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00136/0.2812, allocations: 0.7546 MB / 457.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2812, allocations: 11.94 kB / 457.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2812, allocations: 8 kB / 457.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2812, allocations: 12 kB / 457.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.2819, allocations: 196.2 kB / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.282, allocations: 15.94 kB / 457.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.2824, allocations: 83.39 kB / 458 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.2824, allocations: 35.98 kB / 458 MB, free: 11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0002691/0.2827, allocations: 217.6 kB / 458.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2828, allocations: 47.69 kB / 458.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2841, allocations: 0.6501 MB / 458.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.2841, allocations: 8 kB / 458.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2841, allocations: 0 / 458.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2841, allocations: 3.984 kB / 458.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.2865, allocations: 1.377 MB / 460.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2865, allocations: 0 / 460.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.2872, allocations: 151.7 kB / 460.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2872, allocations: 0 / 460.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.2872, allocations: 23.98 kB / 460.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.2872, allocations: 7.938 kB / 460.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2872, allocations: 0 / 460.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.2889, allocations: 1.12 MB / 461.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.289, allocations: 55.61 kB / 461.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.2891, allocations: 8 kB / 461.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.2894, allocations: 35.92 kB / 461.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.2895, allocations: 44.58 kB / 461.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.2896, allocations: 23.98 kB / 461.8 MB, free: 7.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.2898, allocations: 181.2 kB / 462 MB, free: 6.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2898, allocations: 0 / 462 MB, free: 6.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007181/0.2905, allocations: 227.3 kB / 462.2 MB, free: 6.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * 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.002154/0.2926, allocations: 1.715 MB / 463.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.2937, allocations: 0.577 MB / 464.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2937, allocations: 0 / 464.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.2942, allocations: 271.9 kB / 464.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.2947, allocations: 44.5 kB / 464.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006659/0.3014, allocations: 4.847 MB / 469.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3017, allocations: 307.8 kB / 469.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.302, allocations: 76.39 kB / 470 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.3023, allocations: 255.3 kB / 470.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3024, allocations: 0 / 470.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/0.3584, allocations: 10.3 MB / 480.6 MB, free: 4.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.71, allocations: 6.406 kB / 480.6 MB, free: 4.195 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable idealTransformer.v1.re in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.v1.re from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.v1.im in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.v1.im from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.i1.re in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.i1.re from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.i1.im in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.i1.im from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.v2.re in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.v2.re from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.v2.im in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.v2.im from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.i2.re in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.i2.re from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! Error: Could not read variable idealTransformer.i2.im in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv. Warning: Get data of variable idealTransformer.i2.im from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.316541695967317]