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.001257/0.001257, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.001002/0.001002, allocations: 169.6 kB / 24.91 MB, free: 8.781 MB / 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 0.9235/0.9235, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 3.938 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.217e-06/1.033e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003107/0.003117, allocations: 3.706 MB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.004694, allocations: 1.055 MB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.004954, allocations: 27.81 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.005273, allocations: 154.8 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.005776, allocations: 302 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.005967, allocations: 143.8 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008796/0.006846, allocations: 1.451 MB / 280.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.007306, allocations: 0.643 MB / 280.9 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.00789, allocations: 0.9395 MB / 281.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006644/0.008554, allocations: 0.7561 MB / 282.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.008668, allocations: 160 kB / 282.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.008821, allocations: 160 kB / 282.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.009071, allocations: 490.6 kB / 283.4 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.009395, allocations: 0.5184 MB / 283.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008393/0.01023, allocations: 1.231 MB / 285.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.01024, allocations: 0 / 285.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01024, allocations: 0 / 285.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.01025, allocations: 0 / 285.1 MB, free: 5.48 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.00207/0.01232, allocations: 1.515 MB / 286.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.01235, allocations: 12.03 kB / 286.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.01276, allocations: 200.8 kB / 286.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.01357, allocations: 0.5475 MB / 287.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.01363, allocations: 90.58 kB / 287.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.01379, allocations: 112.4 kB / 287.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.01486, allocations: 0.9109 MB / 288.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.01488, allocations: 0 / 288.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.01497, allocations: 44 kB / 288.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.01499, allocations: 28 kB / 288.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.01554, allocations: 247.1 kB / 288.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/0.1171, allocations: 2.436 MB / 291.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.1174, allocations: 286.1 kB / 291.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1176, allocations: 152.9 kB / 291.7 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1176, allocations: 8.469 kB / 291.7 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1177, allocations: 40.55 kB / 291.7 MB, free: 24.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 1.803e-06/0.1177, allocations: 1.031 kB / 291.7 MB, free: 24.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001202/0.1189, allocations: 0.7383 MB / 292.5 MB, free: 23.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.1189, allocations: 65.5 kB / 292.5 MB, free: 23.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.1193, allocations: 0.5212 MB / 293.1 MB, free: 23.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1193, allocations: 33.2 kB / 293.1 MB, free: 23.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1195, allocations: 488.4 kB / 293.6 MB, free: 23.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.1196, allocations: 184.2 kB / 293.8 MB, free: 23.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1197, allocations: 96.69 kB / 293.8 MB, free: 23.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.1198, allocations: 390.9 kB / 294.2 MB, free: 23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.1199, allocations: 50.33 kB / 294.3 MB, free: 23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.12, allocations: 149.6 kB / 294.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.1202, allocations: 252.9 kB / 294.7 MB, free: 22.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1202, allocations: 1.781 kB / 294.7 MB, free: 22.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004102/0.1206, allocations: 333.2 kB / 295 MB, free: 22.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1206, allocations: 7.812 kB / 295 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1207, allocations: 7.438 kB / 295 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.1208, allocations: 59.11 kB / 295.1 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.1211, allocations: 117.9 kB / 295.2 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007975/0.1219, allocations: 1.603 MB / 296.8 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.122, allocations: 14.88 kB / 296.8 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.122, allocations: 17.52 kB / 296.8 MB, free: 21.48 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.0001709/0.1222, allocations: 145.9 kB / 297 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.1223, allocations: 65.47 kB / 297 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.1224, allocations: 83.8 kB / 297.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1224, allocations: 6.188 kB / 297.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.1224, allocations: 0.7188 kB / 297.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1224, allocations: 9.188 kB / 297.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.1236, allocations: 1.134 MB / 298.3 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1236, allocations: 2.062 kB / 298.3 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1238, allocations: 83.3 kB / 298.3 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.1239, allocations: 68.11 kB / 298.4 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.124, allocations: 16.09 kB / 298.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007374/0.1247, allocations: 1.689 MB / 300.1 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1247, allocations: 9.219 kB / 300.1 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.1252, allocations: 0.4984 MB / 300.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.1252, allocations: 67.12 kB / 300.7 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.1253, allocations: 10.83 kB / 300.7 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1255, allocations: 37.88 kB / 300.7 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1255, allocations: 39.36 kB / 300.8 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1256, allocations: 20.64 kB / 300.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1258, allocations: 253.7 kB / 301 MB, free: 19.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1258, allocations: 1.406 kB / 301 MB, free: 19.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005273/0.1263, allocations: 209.4 kB / 301.2 MB, free: 19.32 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.0001185/0.1264, allocations: 95.97 kB / 301.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.1269, allocations: 402.4 kB / 301.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.1269, allocations: 7.188 kB / 301.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.1272, allocations: 295.4 kB / 302 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.1277, allocations: 163.8 kB / 302.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1298, allocations: 1.848 MB / 304 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1301, allocations: 303.2 kB / 304.3 MB, free: 18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1303, allocations: 78.84 kB / 304.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.1306, allocations: 209.1 kB / 304.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1307, allocations: 0 / 304.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of Templates: time 0.0127/0.1434, allocations: 10.92 MB / 315.5 MB, free: 10.32 MB / 266.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","",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.7589536630548537]