Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.45e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.009131/0.009166, allocations: 3.731 MB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.01261, allocations: 1.001 MB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.013, allocations: 31.81 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.01356, allocations: 158.8 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.01491, allocations: 302 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.0154, allocations: 139.8 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.01788, allocations: 1.455 MB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.01928, allocations: 0.6274 MB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.02114, allocations: 0.9356 MB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.02289, allocations: 0.76 MB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.02327, allocations: 156 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.02375, allocations: 164 kB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.02452, allocations: 486.6 kB / 282.2 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.0256, allocations: 0.5145 MB / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.0295, allocations: 2.1 MB / 284.8 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.02951, allocations: 4 kB / 284.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.02951, allocations: 0 / 284.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.02954, allocations: 0 / 284.8 MB, free: 5.23 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.005221/0.03476, allocations: 1.851 MB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.03482, allocations: 16.02 kB / 286.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.03584, allocations: 256 kB / 287 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.0383, allocations: 0.7713 MB / 287.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.03843, allocations: 86.59 kB / 287.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.03873, allocations: 112.4 kB / 287.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/0.0433, allocations: 1.691 MB / 289.6 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.04334, allocations: 4 kB / 289.6 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.04351, allocations: 48 kB / 289.7 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.04356, allocations: 31.98 kB / 289.7 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1201/0.1637, allocations: 1.159 MB / 290.9 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007246/0.171, allocations: 4.307 MB / 295.2 MB, free: 25.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.1718, allocations: 0.5438 MB / 295.7 MB, free: 25.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.1724, allocations: 381.5 kB / 296.1 MB, free: 25.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.1724, allocations: 10.45 kB / 296.1 MB, free: 25.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1724, allocations: 48.23 kB / 296.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/0.1724, allocations: 5.828 kB / 296.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002949/0.1754, allocations: 1.7 MB / 297.8 MB, free: 24.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1754, allocations: 58.59 kB / 297.9 MB, free: 24.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1765, allocations: 0.8885 MB / 298.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.1765, allocations: 35.55 kB / 298.8 MB, free: 23.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.1769, allocations: 0.6561 MB / 299.5 MB, free: 23.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.177, allocations: 199.2 kB / 299.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.1772, allocations: 120.1 kB / 299.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1774, allocations: 0.6191 MB / 300.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.1778, allocations: 249.4 kB / 300.7 MB, free: 22.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.1782, allocations: 410.3 kB / 301.1 MB, free: 22.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.179, allocations: 0.663 MB / 301.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.179, allocations: 1.688 kB / 301.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001181/0.1802, allocations: 0.8487 MB / 302.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1802, allocations: 5.5 kB / 302.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1802, allocations: 2.75 kB / 302.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.1805, allocations: 109.2 kB / 302.7 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.181, allocations: 124.7 kB / 302.8 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.1828, allocations: 2.827 MB / 305.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.1831, allocations: 22.39 kB / 305.6 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1832, allocations: 20.22 kB / 305.7 MB, free: 18.96 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.0004698/0.1836, allocations: 439.9 kB / 306.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.1838, allocations: 99.06 kB / 306.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.1839, allocations: 81.14 kB / 306.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1839, allocations: 4.812 kB / 306.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.1839, allocations: 3.188 kB / 306.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.184, allocations: 3.984 kB / 306.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.187, allocations: 1.948 MB / 308.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.187, allocations: 7.984 kB / 308.2 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.1873, allocations: 79.89 kB / 308.3 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.1875, allocations: 97.81 kB / 308.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.1875, allocations: 25.92 kB / 308.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.189, allocations: 2.69 MB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.189, allocations: 12.02 kB / 311.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1902, allocations: 1.052 MB / 312.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.1904, allocations: 82.45 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.1905, allocations: 15.98 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.1908, allocations: 55.92 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.191, allocations: 44.36 kB / 312.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.191, allocations: 16 kB / 312.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005443/0.1915, allocations: 0.577 MB / 313 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 313 MB, free: 12.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000742/0.1923, allocations: 208 kB / 313.2 MB, free: 12.16 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.0001276/0.1924, allocations: 116.1 kB / 313.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1935, allocations: 0.7903 MB / 314.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1935, allocations: 4 kB / 314.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.194, allocations: 0.4941 MB / 314.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.1949, allocations: 167.2 kB / 314.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.198, allocations: 2.041 MB / 316.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.1985, allocations: 0.6783 MB / 317.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.1989, allocations: 138.4 kB / 317.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.199, allocations: 48.5 kB / 317.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.163e-06/0.199, allocations: 0 / 317.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of Templates: time 0.01706/0.2161, allocations: 10.35 MB / 328 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/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_4.1.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.90346591908019]