Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.000806/0.000806, allocations: 76.36 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.00119/0.00119, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8804/0.8804, allocations: 177 MB / 204.1 MB, free: 5.754 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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.83e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003236/0.003254, allocations: 3.484 MB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.004843, allocations: 0.9969 MB / 329 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.00505, allocations: 31.81 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.005318, allocations: 162.8 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.005962, allocations: 310 kB / 329.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.006157, allocations: 127.8 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.007345, allocations: 1.458 MB / 331.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005634/0.007908, allocations: 0.6236 MB / 331.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007451/0.008653, allocations: 0.9278 MB / 332.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.009259, allocations: 0.717 MB / 333.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.009373, allocations: 156 kB / 333.5 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.009533, allocations: 160 kB / 333.6 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.009773, allocations: 482.6 kB / 334.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.01009, allocations: 0.5067 MB / 334.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.01127, allocations: 2.088 MB / 336.7 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01127, allocations: 0 / 336.7 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01127, allocations: 4 kB / 336.7 MB, free: 3.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.01129, allocations: 4 kB / 336.7 MB, free: 3.605 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.001985/0.01327, allocations: 1.615 MB / 338.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01331, allocations: 15.92 kB / 338.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.01345, allocations: 185.3 kB / 338.5 MB, free: 1.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.01374, allocations: 180 kB / 338.7 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/0.01461, allocations: 0.8389 MB / 339.5 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.01465, allocations: 82.59 kB / 339.6 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.01475, allocations: 112.3 kB / 339.7 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.01628, allocations: 1.715 MB / 341.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.0163, allocations: 4 kB / 341.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.01636, allocations: 44 kB / 341.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.0164, allocations: 42.22 kB / 341.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.01771, allocations: 1.316 MB / 342.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.02146, allocations: 3.725 MB / 346.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.02201, allocations: 0.5923 MB / 347.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.02242, allocations: 421.4 kB / 347.6 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.02244, allocations: 4.375 kB / 347.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.02246, allocations: 38.94 kB / 347.6 MB, free: 8.387 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.184e-06/0.02247, allocations: 0 / 347.6 MB, free: 8.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001905/0.02437, allocations: 1.811 MB / 349.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.0244, allocations: 59.84 kB / 349.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.02507, allocations: 0.836 MB / 350.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.02509, allocations: 29.7 kB / 350.4 MB, free: 5.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.02533, allocations: 0.57 MB / 350.9 MB, free: 5.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/0.02541, allocations: 166.6 kB / 351.1 MB, free: 4.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.02552, allocations: 102.2 kB / 351.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.02563, allocations: 386.8 kB / 351.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.02591, allocations: 297.1 kB / 351.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.02623, allocations: 401.1 kB / 352.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.02706, allocations: 0.689 MB / 352.9 MB, free: 2.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.02706, allocations: 0 / 352.9 MB, free: 2.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008373/0.0279, allocations: 0.9038 MB / 353.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.02791, allocations: 8.031 kB / 353.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.02792, allocations: 7.938 kB / 353.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.02812, allocations: 104.8 kB / 354 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.02838, allocations: 115.8 kB / 354.1 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.02984, allocations: 2.238 MB / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.03004, allocations: 27.97 kB / 356.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.03006, allocations: 20 kB / 356.4 MB, free: 15.36 MB / 330.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 (56): * Single equations (assignments): 55 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004228/0.03048, allocations: 459.4 kB / 356.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.03055, allocations: 75.53 kB / 356.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.03063, allocations: 99.06 kB / 357 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.03063, allocations: 8 kB / 357 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.03064, allocations: 0 / 357 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.03064, allocations: 0 / 357 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.03237, allocations: 1.796 MB / 358.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.03238, allocations: 0 / 358.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.03255, allocations: 88.06 kB / 358.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.0327, allocations: 112.7 kB / 359 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.03272, allocations: 12 kB / 359 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.03442, allocations: 2.195 MB / 361.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.03443, allocations: 4.031 kB / 361.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.0355, allocations: 1.151 MB / 362.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.03562, allocations: 87.55 kB / 362.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.03567, allocations: 16.05 kB / 362.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.03588, allocations: 52.02 kB / 362.5 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.03596, allocations: 39.86 kB / 362.5 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.03598, allocations: 19.94 kB / 362.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005114/0.03649, allocations: 0.5888 MB / 363.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.03649, allocations: 0 / 363.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005311/0.03703, allocations: 208 kB / 363.3 MB, free: 8.168 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001235/0.03826, allocations: 1.706 MB / 365 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009012/0.03916, allocations: 0.77 MB / 365.8 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03916, allocations: 0 / 365.8 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.0396, allocations: 458.2 kB / 366.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.04016, allocations: 183.5 kB / 366.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008413/0.04857, allocations: 8.504 MB / 374.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.04912, allocations: 0.7566 MB / 375.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.04942, allocations: 173.7 kB / 375.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.04982, allocations: 392.4 kB / 376.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.04982, allocations: 0 / 376.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.0836, allocations: 20.98 MB / 397.2 MB, free: 6.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.739, allocations: 15.73 kB / 397.3 MB, free: 6.199 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_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_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformerL.inductor[3].i in file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv. Warning: Get data of variable transformerL.inductor[3].i from file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.475684633478522]