Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.00112/0.00112, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008754/0.0008754, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8797/0.8797, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.343e-05, allocations: 3.125 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003695/0.003719, allocations: 3.717 MB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.005281, allocations: 0.9343 MB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.005503, allocations: 11.94 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.005692, allocations: 91.12 kB / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.00598, allocations: 206.2 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.006357, allocations: 163.6 kB / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004992/0.006857, allocations: 0.704 MB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.007079, allocations: 131.7 kB / 330.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.007506, allocations: 395.1 kB / 330.9 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.007706, allocations: 215.3 kB / 331.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.007763, allocations: 63.94 kB / 331.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.00785, allocations: 60 kB / 331.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.007915, allocations: 131.4 kB / 331.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.008045, allocations: 215.4 kB / 331.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.008509, allocations: 0.6618 MB / 332.2 MB, free: 8.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008512, allocations: 4 kB / 332.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.008514, allocations: 0 / 332.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.008521, allocations: 0 / 332.2 MB, free: 8.152 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001033/0.009554, allocations: 0.7969 MB / 333 MB, free: 7.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.009604, allocations: 15.98 kB / 333 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.009746, allocations: 107.8 kB / 333.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.009981, allocations: 92.5 kB / 333.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.01046, allocations: 321.3 kB / 333.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.01049, allocations: 37.69 kB / 333.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.01054, allocations: 52.38 kB / 333.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.01114, allocations: 0.6465 MB / 334.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01116, allocations: 192 / 334.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.01119, allocations: 36.12 kB / 334.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.0112, allocations: 12 kB / 334.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.0116, allocations: 336.5 kB / 334.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.01326, allocations: 1.542 MB / 336.2 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.01444, allocations: 249.1 kB / 336.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.01461, allocations: 133.7 kB / 336.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.01463, allocations: 7.938 kB / 336.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.01466, allocations: 42.5 kB / 336.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.01466, allocations: 7.938 kB / 336.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001208/0.01587, allocations: 0.8237 MB / 337.5 MB, free: 2.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.01591, allocations: 85.11 kB / 337.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.0162, allocations: 389.5 kB / 337.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01623, allocations: 37.7 kB / 338 MB, free: 2.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01636, allocations: 308 kB / 338.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.01642, allocations: 111 kB / 338.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.0165, allocations: 78.14 kB / 338.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.01659, allocations: 350.8 kB / 338.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.01672, allocations: 101 kB / 338.9 MB, free: 1.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.01688, allocations: 199.2 kB / 339.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.01718, allocations: 294.1 kB / 339.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01718, allocations: 4 kB / 339.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005274/0.01771, allocations: 448.8 kB / 339.8 MB, free: 156 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.01773, allocations: 8 kB / 339.8 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01774, allocations: 4.312 kB / 339.8 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.01796, allocations: 85.59 kB / 339.9 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.01815, allocations: 80 kB / 340 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.01975, allocations: 2.92 MB / 342.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.01989, allocations: 19.89 kB / 342.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01991, allocations: 16 kB / 342.9 MB, free: 12.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.02007, allocations: 162 kB / 343.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.02012, allocations: 51.7 kB / 343.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.02016, allocations: 51.28 kB / 343.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02016, allocations: 4 kB / 343.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.02017, allocations: 0 / 343.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.02017, allocations: 4 kB / 343.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/0.021, allocations: 0.8715 MB / 344.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.021, allocations: 0 / 344.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.02109, allocations: 47.97 kB / 344.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.02125, allocations: 89.47 kB / 344.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.02127, allocations: 4 kB / 344.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.02268, allocations: 2.913 MB / 347.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.02268, allocations: 3.828 kB / 347.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.02322, allocations: 0.5991 MB / 347.7 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.02327, allocations: 47.67 kB / 347.8 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.02329, allocations: 11.98 kB / 347.8 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.02345, allocations: 28.05 kB / 347.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.02351, allocations: 27.95 kB / 347.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.02352, allocations: 11.98 kB / 347.8 MB, free: 7.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.02372, allocations: 271.2 kB / 348.1 MB, free: 7.293 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02372, allocations: 3.938 kB / 348.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004013/0.02412, allocations: 120 kB / 348.2 MB, free: 7.172 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007334/0.02485, allocations: 1.158 MB / 349.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000582/0.02543, allocations: 0.505 MB / 349.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02543, allocations: 0 / 349.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.02575, allocations: 381.1 kB / 350.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.02609, allocations: 57.98 kB / 350.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.0298, allocations: 4.175 MB / 354.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.02996, allocations: 246.3 kB / 354.7 MB, free: 396 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.03007, allocations: 43.3 kB / 354.8 MB, free: 348 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.03022, allocations: 176.4 kB / 355 MB, free: 172 kB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03022, allocations: 4 kB / 355 MB, free: 168 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.05704, allocations: 10.12 MB / 365.1 MB, free: 6.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.12, allocations: 7.984 kB / 365.1 MB, free: 6.223 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i1 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.135516059584916]