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.0009318/0.0009318, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.0009469/0.0009469, allocations: 149.2 kB / 25.6 MB, free: 8.926 MB / 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 0.9199/0.9199, allocations: 173.4 MB / 202.3 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.11e-07/9.11e-07, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.278e-05, allocations: 2.312 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003414/0.003426, allocations: 3.688 MB / 272.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.004942, allocations: 0.9324 MB / 273.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.005152, allocations: 27.81 kB / 273.8 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.005381, allocations: 159.7 kB / 274 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.005956, allocations: 308.1 kB / 274.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.006155, allocations: 137.2 kB / 274.4 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008643/0.007019, allocations: 1.431 MB / 275.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.007553, allocations: 0.6196 MB / 276.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008142/0.008367, allocations: 0.9317 MB / 277.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.00902, allocations: 0.7696 MB / 278.2 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.009142, allocations: 156 kB / 278.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.009282, allocations: 156 kB / 278.5 MB, free: 436 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.009547, allocations: 487.4 kB / 279 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.009898, allocations: 0.5145 MB / 279.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.01067, allocations: 1.227 MB / 280.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01067, allocations: 4 kB / 280.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01067, allocations: 0 / 280.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01068, allocations: 0 / 280.7 MB, free: 14.2 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.001505/0.01219, allocations: 1.699 MB / 282.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.01222, allocations: 16.03 kB / 282.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01241, allocations: 232 kB / 282.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.01301, allocations: 0.6893 MB / 283.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.01306, allocations: 82.59 kB / 283.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.01316, allocations: 112.4 kB / 283.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.01398, allocations: 0.9613 MB / 284.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.014, allocations: 0 / 284.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.01417, allocations: 48 kB / 284.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.01419, allocations: 28 kB / 284.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.01457, allocations: 291 kB / 284.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.01727, allocations: 3.074 MB / 287.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.01755, allocations: 311.4 kB / 288.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.01774, allocations: 183.5 kB / 288.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.01776, allocations: 8.5 kB / 288.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.01778, allocations: 45.89 kB / 288.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 1.422e-06/0.01778, allocations: 0 / 288.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009713/0.01875, allocations: 0.831 MB / 289.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.01878, allocations: 59.84 kB / 289.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.01919, allocations: 0.6593 MB / 290 MB, free: 4.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.01921, allocations: 37.7 kB / 290 MB, free: 4.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.01948, allocations: 0.6313 MB / 290.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.01957, allocations: 194.4 kB / 290.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01968, allocations: 112 kB / 291 MB, free: 3.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01984, allocations: 0.5898 MB / 291.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.01992, allocations: 57.25 kB / 291.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.02009, allocations: 207.4 kB / 291.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.02033, allocations: 294.3 kB / 292.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02033, allocations: 7.938 kB / 292.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004193/0.02075, allocations: 424.4 kB / 292.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.02077, allocations: 8 kB / 292.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.02077, allocations: 320 / 292.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.02091, allocations: 79.56 kB / 292.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.02116, allocations: 115.8 kB / 292.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.02225, allocations: 2.298 MB / 295 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.02239, allocations: 12 kB / 295 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.02241, allocations: 16 kB / 295.1 MB, free: 15.21 MB / 282.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.0001539/0.02256, allocations: 184.5 kB / 295.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.02264, allocations: 99.41 kB / 295.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.02271, allocations: 82.81 kB / 295.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02272, allocations: 8.031 kB / 295.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.02272, allocations: 4 kB / 295.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02272, allocations: 0 / 295.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.02401, allocations: 1.425 MB / 296.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.02401, allocations: 3.938 kB / 296.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.02417, allocations: 79.95 kB / 296.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.02429, allocations: 75.78 kB / 297 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.02431, allocations: 15.94 kB / 297 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.02532, allocations: 2.272 MB / 299.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.02532, allocations: 3.938 kB / 299.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.02581, allocations: 0.6343 MB / 299.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.02587, allocations: 71.55 kB / 300 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.02592, allocations: 16 kB / 300 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.02609, allocations: 27.98 kB / 300 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.02614, allocations: 44.36 kB / 300.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.02616, allocations: 16.03 kB / 300.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.02638, allocations: 402.9 kB / 300.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02638, allocations: 3.938 kB / 300.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.02678, allocations: 208 kB / 300.7 MB, free: 9.316 MB / 282.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 9.18e-05/0.02687, allocations: 119.1 kB / 300.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.0273, allocations: 489.2 kB / 301.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0273, allocations: 0 / 301.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.02756, allocations: 369 kB / 301.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.02803, allocations: 165.5 kB / 301.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.02988, allocations: 1.877 MB / 303.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.0301, allocations: 362.8 kB / 304.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.03025, allocations: 81.59 kB / 304.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.03053, allocations: 246.1 kB / 304.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03053, allocations: 0 / 304.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of Templates: time 0.01291/0.04344, allocations: 11.18 MB / 315.6 MB, free: 10.52 MB / 298.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.827852124348283]