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.001673/0.001673, allocations: 110 kB / 20.43 MB, free: 1.453 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.00212/0.00212, allocations: 213.3 kB / 23.74 MB, free: 4.66 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.561/1.561, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001917/0.001917, allocations: 59.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3075, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008016/0.3155, allocations: 5.669 MB / 436.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.3194, allocations: 1.892 MB / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.3199, allocations: 23.94 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003764/0.3237, allocations: 1.625 MB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.3253, allocations: 0.5983 MB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.3262, allocations: 418.4 kB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.3273, allocations: 0.8056 MB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.3284, allocations: 0.7585 MB / 443 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.329, allocations: 366.6 kB / 443.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.3296, allocations: 490.1 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3297, allocations: 80 kB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.3303, allocations: 243.8 kB / 444.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3304, allocations: 191.3 kB / 444.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.3309, allocations: 421.9 kB / 444.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3324, allocations: 1.176 MB / 445.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3324, allocations: 0 / 445.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3324, allocations: 4 kB / 445.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.3324, allocations: 0 / 445.9 MB, free: 7.922 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.003556/0.3359, allocations: 1.3 MB / 447.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.336, allocations: 8.031 kB / 447.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.3362, allocations: 152.3 kB / 447.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/0.3406, allocations: 0.6209 MB / 448 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.3414, allocations: 361.3 kB / 448.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.3414, allocations: 82.3 kB / 448.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3416, allocations: 96.38 kB / 448.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.3433, allocations: 0.9861 MB / 449.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3433, allocations: 0 / 449.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.3434, allocations: 40 kB / 449.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.3435, allocations: 24 kB / 449.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.3452, allocations: 0.9369 MB / 450.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.3501, allocations: 3.162 MB / 453.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.352, allocations: 0.757 MB / 454.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.3524, allocations: 260 kB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.3525, allocations: 32.61 kB / 454.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.3526, allocations: 47.09 kB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.235e-06/0.3526, allocations: 3.938 kB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001552/0.3541, allocations: 0.728 MB / 455.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.3542, allocations: 111.5 kB / 455.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3545, allocations: 265.8 kB / 455.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.3546, allocations: 33.7 kB / 455.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.3548, allocations: 404.2 kB / 456.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.355, allocations: 230 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.3552, allocations: 138.6 kB / 456.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3554, allocations: 346.8 kB / 457 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.3558, allocations: 229.8 kB / 457.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.3564, allocations: 435.4 kB / 457.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3575, allocations: 0.7007 MB / 458.3 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3575, allocations: 0 / 458.3 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001388/0.3589, allocations: 0.7548 MB / 459.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3589, allocations: 14.59 kB / 459.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3589, allocations: 4 kB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.359, allocations: 12 kB / 459.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.3597, allocations: 195.7 kB / 459.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.3597, allocations: 12.28 kB / 459.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.3601, allocations: 87.39 kB / 459.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.3601, allocations: 36 kB / 459.4 MB, free: 9.887 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.0003388/0.3605, allocations: 221.6 kB / 459.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.3606, allocations: 47.7 kB / 459.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.3618, allocations: 0.6539 MB / 460.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3618, allocations: 4 kB / 460.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3618, allocations: 4 kB / 460.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3618, allocations: 3.984 kB / 460.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.3643, allocations: 1.451 MB / 461.8 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3643, allocations: 4 kB / 461.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.3649, allocations: 147.8 kB / 462 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.278e-05/0.3649, allocations: 7.938 kB / 462 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.365, allocations: 12 kB / 462 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.365, allocations: 7.938 kB / 462 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.365, allocations: 0 / 462 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.3666, allocations: 1.124 MB / 463.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.3667, allocations: 43.67 kB / 463.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.3668, allocations: 15.98 kB / 463.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.3672, allocations: 31.94 kB / 463.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.3673, allocations: 48.5 kB / 463.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3673, allocations: 23.98 kB / 463.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.3675, allocations: 185.3 kB / 463.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3675, allocations: 0 / 463.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007526/0.3683, allocations: 231.3 kB / 463.7 MB, free: 5.555 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.002088/0.3704, allocations: 1.707 MB / 465.4 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3715, allocations: 0.569 MB / 465.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3715, allocations: 4.25 kB / 466 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/0.372, allocations: 275.6 kB / 466.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.3725, allocations: 43.23 kB / 466.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.3794, allocations: 4.847 MB / 471.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.38, allocations: 0.8967 MB / 472 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.3803, allocations: 80.39 kB / 472.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.3807, allocations: 259.3 kB / 472.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3807, allocations: 0 / 472.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.4245, allocations: 10.34 MB / 482.7 MB, free: 2.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.26, allocations: 11.03 kB / 482.7 MB, free: 2.34 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: 15.017667798998446]