Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002556/0.002556, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002871/0.002871, allocations: 149.1 kB / 24.26 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.291e-05, allocations: 10.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006258/0.006291, allocations: 3.716 MB / 271 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.008729, allocations: 0.9385 MB / 272 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.009037, allocations: 27.81 kB / 272 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.009455, allocations: 158.8 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.01041, allocations: 302.1 kB / 272.4 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.01071, allocations: 131.8 kB / 272.6 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.01242, allocations: 1.431 MB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/0.0134, allocations: 0.6235 MB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.01477, allocations: 0.9356 MB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.01613, allocations: 0.7678 MB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003415/0.01647, allocations: 156 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.01679, allocations: 156 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.01731, allocations: 486.6 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009867/0.0183, allocations: 0.5145 MB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.02193, allocations: 2.084 MB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.02193, allocations: 0 / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.02193, allocations: 0 / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.885e-05/0.02197, allocations: 0 / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00539/0.02736, allocations: 1.843 MB / 281.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.02742, allocations: 12.02 kB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.02801, allocations: 240 kB / 281.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.03021, allocations: 0.7518 MB / 282.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.03033, allocations: 82.59 kB / 282.6 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.03061, allocations: 112.4 kB / 282.7 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.0348, allocations: 1.691 MB / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.03484, allocations: 0 / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.035, allocations: 52 kB / 284.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.03504, allocations: 28 kB / 284.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.0382, allocations: 1.164 MB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1412/0.1794, allocations: 4.315 MB / 290 MB, free: 30.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1804, allocations: 0.5442 MB / 290.5 MB, free: 30.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.1811, allocations: 379.4 kB / 290.9 MB, free: 30.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.1812, allocations: 8.844 kB / 290.9 MB, free: 30.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1812, allocations: 42.55 kB / 290.9 MB, free: 30.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.788e-06/0.1812, allocations: 0 / 290.9 MB, free: 30.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.003273/0.1845, allocations: 1.69 MB / 292.6 MB, free: 29.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.1846, allocations: 60.81 kB / 292.7 MB, free: 29.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.1857, allocations: 0.883 MB / 293.6 MB, free: 29.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1857, allocations: 36.27 kB / 293.6 MB, free: 29.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.1861, allocations: 0.6441 MB / 294.3 MB, free: 29.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1862, allocations: 200 kB / 294.5 MB, free: 29.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.1864, allocations: 128.3 kB / 294.6 MB, free: 28.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1866, allocations: 0.6145 MB / 295.2 MB, free: 28.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.187, allocations: 249.8 kB / 295.4 MB, free: 28.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.1875, allocations: 409.4 kB / 295.8 MB, free: 28.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.1885, allocations: 0.6588 MB / 296.5 MB, free: 27.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1885, allocations: 1.062 kB / 296.5 MB, free: 27.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001419/0.1899, allocations: 0.8446 MB / 297.3 MB, free: 27.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1899, allocations: 9.672 kB / 297.3 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1899, allocations: 3.688 kB / 297.4 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.1902, allocations: 116.5 kB / 297.5 MB, free: 27.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.1908, allocations: 122.4 kB / 297.6 MB, free: 27.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.1928, allocations: 2.83 MB / 300.4 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.1933, allocations: 27.5 kB / 300.4 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.1933, allocations: 19.73 kB / 300.5 MB, free: 24.97 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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.0005744/0.1939, allocations: 440.4 kB / 300.9 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.1941, allocations: 92.97 kB / 301 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.1943, allocations: 80.59 kB / 301.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1943, allocations: 5.891 kB / 301.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.1943, allocations: 2.047 kB / 301.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1943, allocations: 7.812 kB / 301.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.198, allocations: 1.94 MB / 303 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.198, allocations: 1.281 kB / 303 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.1984, allocations: 90.27 kB / 303.1 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.1987, allocations: 96.61 kB / 303.2 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.1987, allocations: 16.67 kB / 303.2 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.2005, allocations: 2.697 MB / 305.9 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2005, allocations: 2.75 kB / 305.9 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2018, allocations: 1.065 MB / 307 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.202, allocations: 84.62 kB / 307.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2021, allocations: 15.7 kB / 307.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.2025, allocations: 47.52 kB / 307.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2026, allocations: 46.42 kB / 307.2 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.2027, allocations: 17.52 kB / 307.2 MB, free: 20.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005799/0.2032, allocations: 0.568 MB / 307.8 MB, free: 20.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2033, allocations: 0 / 307.8 MB, free: 20.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007677/0.204, allocations: 209.9 kB / 308 MB, free: 20.31 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.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 (43): * Single equations (assignments): 42 * 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.0001352/0.2042, allocations: 120.8 kB / 308.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.2052, allocations: 0.8018 MB / 308.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2052, allocations: 2.594 kB / 308.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.2058, allocations: 0.4888 MB / 309.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.2066, allocations: 160.8 kB / 309.5 MB, free: 19.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.2094, allocations: 2.041 MB / 311.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.2099, allocations: 0.6797 MB / 312.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.2103, allocations: 137.6 kB / 312.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2104, allocations: 48.5 kB / 312.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2104, allocations: 0 / 312.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01544/0.2258, allocations: 10.33 MB / 322.8 MB, free: 6.699 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.847653583041392]