Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.00189/0.00189, allocations: 114 kB / 20.43 MB, free: 1.457 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.002334/0.002334, allocations: 217.1 kB / 23.74 MB, free: 4.672 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.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 55.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2897, allocations: 53.42 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01046/0.3002, allocations: 7.882 MB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006376/0.3065, allocations: 2.749 MB / 441.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.3079, allocations: 95.31 kB / 441.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.3094, allocations: 0.5947 MB / 442.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.3119, allocations: 0.7731 MB / 443.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.313, allocations: 431.4 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004436/0.3174, allocations: 3.315 MB / 447 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.3201, allocations: 2.007 MB / 449 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.3236, allocations: 1.709 MB / 450.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.3271, allocations: 2.098 MB / 452.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007643/0.3279, allocations: 460 kB / 453.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.3293, allocations: 0.7221 MB / 454 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.3306, allocations: 1.262 MB / 455.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.3331, allocations: 1.98 MB / 457.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.3402, allocations: 6.147 MB / 463.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3402, allocations: 0 / 463.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3402, allocations: 0 / 463.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001682/0.3403, allocations: 8 kB / 463.4 MB, free: 6.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.00938/0.3497, allocations: 3.821 MB / 467.2 MB, free: 2.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3498, allocations: 12.03 kB / 467.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006621/0.3504, allocations: 430 kB / 467.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.3519, allocations: 450.5 kB / 468.1 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.3563, allocations: 2.123 MB / 470.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.3565, allocations: 226.1 kB / 470.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005444/0.3571, allocations: 287.9 kB / 470.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007858/0.3649, allocations: 4.226 MB / 474.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.365, allocations: 7.938 kB / 475 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/0.3653, allocations: 116 kB / 475.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.3655, allocations: 149.9 kB / 475.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007413/0.3729, allocations: 3.502 MB / 478.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02278/0.3957, allocations: 11.02 MB / 489.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.3983, allocations: 1.655 MB / 491.4 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/0.4008, allocations: 1.399 MB / 492.8 MB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.401, allocations: 44.95 kB / 492.8 MB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.401, allocations: 55.56 kB / 492.9 MB, free: 8.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.106e-06/0.401, allocations: 0 / 492.9 MB, free: 8.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009658/0.4107, allocations: 5.136 MB / 498 MB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.4108, allocations: 90.42 kB / 498.1 MB, free: 3.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/0.414, allocations: 1.918 MB / 0.4883 GB, free: 1.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.4142, allocations: 53.69 kB / 0.4884 GB, free: 1.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.4154, allocations: 1.373 MB / 0.4897 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.4159, allocations: 475.9 kB / 0.4902 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/0.4163, allocations: 271.5 kB / 0.4904 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4164, allocations: 301.1 kB / 0.4907 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4177, allocations: 0.8198 MB / 0.4915 GB, free: 13.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.4193, allocations: 1.182 MB / 0.4927 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.4223, allocations: 2.082 MB / 0.4947 GB, free: 10.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4223, allocations: 3.938 kB / 0.4947 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004565/0.4269, allocations: 2.523 MB / 0.4972 GB, free: 7.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4269, allocations: 8 kB / 0.4972 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.4269, allocations: 12 kB / 0.4972 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.4289, allocations: 483 kB / 0.4976 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.4302, allocations: 331.5 kB / 0.498 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/0.4359, allocations: 4.293 MB / 0.5021 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4376, allocations: 91.81 kB / 0.5022 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.4378, allocations: 63.98 kB / 0.5023 GB, free: 2.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002234/0.44, allocations: 1.055 MB / 0.5033 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.4407, allocations: 194.8 kB / 0.5035 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/0.4445, allocations: 2.141 MB / 0.5056 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/0.4445, allocations: 16 kB / 0.5056 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4445, allocations: 4 kB / 0.5056 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.4446, allocations: 11.91 kB / 0.5056 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009595/0.4542, allocations: 5.162 MB / 0.5107 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4542, allocations: 0 / 0.5107 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4552, allocations: 231.8 kB / 0.5109 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.4571, allocations: 464.3 kB / 0.5113 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4572, allocations: 35.92 kB / 0.5114 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005566/0.4628, allocations: 4.2 MB / 0.5155 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4628, allocations: 0 / 0.5155 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.4682, allocations: 3.253 MB / 0.5187 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4695, allocations: 394.6 kB / 0.519 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.4697, allocations: 28.06 kB / 0.5191 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.4707, allocations: 99.83 kB / 0.5192 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.471, allocations: 104.8 kB / 0.5193 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-05/0.4711, allocations: 39.98 kB / 0.5193 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.4731, allocations: 1.342 MB / 0.5206 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4731, allocations: 0 / 0.5206 GB, free: 15.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002051/0.4752, allocations: 0.5546 MB / 0.5211 GB, free: 14.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006137/0.4813, allocations: 3.934 MB / 0.525 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004182/0.4855, allocations: 2.125 MB / 0.5271 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.4855, allocations: 3.938 kB / 0.5271 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/0.4876, allocations: 1.149 MB / 0.5282 GB, free: 7.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/0.4908, allocations: 0.5042 MB / 0.5287 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2605/0.7513, allocations: 20.64 MB / 0.5488 GB, free: 96.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.753, allocations: 2.445 MB / 0.5512 GB, free: 95.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001229/0.7542, allocations: 497.5 kB / 0.5517 GB, free: 94.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.7553, allocations: 1.073 MB / 0.5527 GB, free: 93.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.7553, allocations: 0 / 0.5527 GB, free: 93.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09427/0.8496, allocations: 53.61 MB / 0.6051 GB, free: 40.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.03, allocations: 11.98 kB / 0.6051 GB, free: 40.61 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.l2sigma.inductor[1].i in file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.574853464000626]