Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001138/0.001138, allocations: 85.95 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.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.001216/0.001216, allocations: 158.7 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.877/0.877, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.265e-05, allocations: 6.25 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005169/0.005192, allocations: 5.686 MB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.008553, allocations: 2.096 MB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.009055, allocations: 43.69 kB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.009829, allocations: 393.7 kB / 259.7 MB, free: 15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01091, allocations: 0.5977 MB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.01123, allocations: 243.6 kB / 260.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.01264, allocations: 2.365 MB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009046/0.01355, allocations: 1.036 MB / 263.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.01525, allocations: 1.602 MB / 265.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.01633, allocations: 1.197 MB / 266.7 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.01658, allocations: 288 kB / 267 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.01716, allocations: 375.8 kB / 267.4 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.01755, allocations: 0.7479 MB / 268.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.01812, allocations: 0.8615 MB / 269 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.01966, allocations: 2.029 MB / 271 MB, free: 3.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01966, allocations: 0 / 271 MB, free: 3.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01967, allocations: 0 / 271 MB, free: 3.621 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.01969, allocations: 0 / 271 MB, free: 3.621 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002397/0.02208, allocations: 2.471 MB / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.02212, allocations: 19.97 kB / 273.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.02267, allocations: 419.4 kB / 273.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.02416, allocations: 0.979 MB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.02424, allocations: 131.9 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.02441, allocations: 180.2 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.02581, allocations: 1.458 MB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.02584, allocations: 11.92 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.02594, allocations: 75.94 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/0.02601, allocations: 99.58 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.02665, allocations: 476.8 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/0.03222, allocations: 5.924 MB / 283.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.03269, allocations: 365.8 kB / 283.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.0329, allocations: 193.8 kB / 283.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.03301, allocations: 40.41 kB / 283.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.03304, allocations: 45.83 kB / 283.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.873e-06/0.03304, allocations: 0 / 283.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001625/0.03467, allocations: 0.9901 MB / 284.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.0347, allocations: 85.61 kB / 284.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.03555, allocations: 1.155 MB / 286.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.03558, allocations: 33.64 kB / 286.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.03607, allocations: 1.11 MB / 287.2 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.03618, allocations: 202.3 kB / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.03639, allocations: 268.3 kB / 287.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.03655, allocations: 0.5628 MB / 288.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.03668, allocations: 98.53 kB / 288.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.0372, allocations: 1.085 MB / 289.4 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.038, allocations: 1.282 MB / 290.7 MB, free: 14.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.03801, allocations: 8 kB / 290.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001419/0.03943, allocations: 1.008 MB / 291.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.03945, allocations: 16 kB / 291.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.03947, allocations: 24 kB / 291.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/0.03983, allocations: 151.8 kB / 291.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.04028, allocations: 283.5 kB / 292.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.04151, allocations: 2.325 MB / 294.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.04191, allocations: 79.8 kB / 294.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.04196, allocations: 56 kB / 294.6 MB, free: 10.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.04223, allocations: 248 kB / 294.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.04238, allocations: 147.2 kB / 295 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.04286, allocations: 412.6 kB / 295.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.04286, allocations: 11.94 kB / 295.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.04287, allocations: 0 / 295.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.04287, allocations: 7.969 kB / 295.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.04464, allocations: 1.868 MB / 297.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.04464, allocations: 0 / 297.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.04482, allocations: 95.88 kB / 297.4 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.04513, allocations: 127.8 kB / 297.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.04515, allocations: 12 kB / 297.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.04657, allocations: 2.287 MB / 299.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.04657, allocations: 4.031 kB / 299.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.04723, allocations: 0.74 MB / 300.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.04742, allocations: 171.2 kB / 300.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.04749, allocations: 16 kB / 300.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.04774, allocations: 48 kB / 300.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.04781, allocations: 55.73 kB / 300.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.04784, allocations: 12 kB / 300.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004456/0.04828, allocations: 0.5902 MB / 301.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04828, allocations: 0 / 301.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000797/0.04908, allocations: 351.9 kB / 301.8 MB, free: 2.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003469/0.04942, allocations: 190.9 kB / 302 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.05015, allocations: 0.7194 MB / 302.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.05015, allocations: 6 kB / 302.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.05045, allocations: 386.6 kB / 303.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.05115, allocations: 272.3 kB / 303.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.05446, allocations: 2.774 MB / 306.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.05482, allocations: 0.5207 MB / 306.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.05515, allocations: 158 kB / 306.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.05559, allocations: 358 kB / 307.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.05559, allocations: 0 / 307.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.02036/0.07595, allocations: 16.79 MB / 323.9 MB, free: 12.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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.9517898010089993]