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.000741/0.000741, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001813, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007086/0.0007086, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008715/0.00158, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9772/0.9772, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09248/1.07, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.613e-06/1.613e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.703e-05, allocations: 8.922 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003648/0.003675, allocations: 3.765 MB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.005114, allocations: 1.051 MB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.005394, allocations: 39.75 kB / 249.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.005665, allocations: 154.8 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005914/0.006256, allocations: 294.1 kB / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.006512, allocations: 147.7 kB / 250 MB, free: 8.844 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.007944, allocations: 1.455 MB / 251.4 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.008677, allocations: 0.647 MB / 252.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009634/0.009641, allocations: 1.024 MB / 253.1 MB, free: 5.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007857/0.01043, allocations: 0.7561 MB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.01058, allocations: 156 kB / 254 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.01079, allocations: 156 kB / 254.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.01105, allocations: 395 kB / 254.5 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.01141, allocations: 431.2 kB / 255 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.01228, allocations: 1.157 MB / 256.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.0123, allocations: 4 kB / 256.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0123, allocations: 0 / 256.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.01232, allocations: 0 / 256.1 MB, free: 2.629 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001887/0.01421, allocations: 1.769 MB / 257.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.01424, allocations: 12.03 kB / 257.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.0146, allocations: 285.9 kB / 258.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.01522, allocations: 0.5436 MB / 258.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.01526, allocations: 82.53 kB / 258.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01537, allocations: 108.4 kB / 258.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.0162, allocations: 0.9148 MB / 259.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01622, allocations: 8 kB / 259.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.01628, allocations: 44 kB / 259.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.0163, allocations: 28 kB / 259.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.01667, allocations: 247.1 kB / 260.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.01953, allocations: 2.468 MB / 262.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.01984, allocations: 287.2 kB / 262.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.02003, allocations: 151.5 kB / 263 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.02006, allocations: 12.44 kB / 263 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.02009, allocations: 43.06 kB / 263.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.936e-06/0.02009, allocations: 0 / 263.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001162/0.02125, allocations: 0.7392 MB / 263.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.02129, allocations: 59.89 kB / 263.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.02167, allocations: 0.5195 MB / 264.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.0217, allocations: 37.7 kB / 264.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.0222, allocations: 489 kB / 264.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.02229, allocations: 178.4 kB / 265.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.0224, allocations: 102.2 kB / 265.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.02251, allocations: 390.6 kB / 265.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.02258, allocations: 49.28 kB / 265.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.02269, allocations: 148.4 kB / 265.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.02291, allocations: 254 kB / 266 MB, free: 8.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.02291, allocations: 0 / 266 MB, free: 8.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000361/0.02327, allocations: 335 kB / 266.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.02329, allocations: 4 kB / 266.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.0233, allocations: 4 kB / 266.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.02345, allocations: 60.75 kB / 266.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.0238, allocations: 148 kB / 266.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.02485, allocations: 1.619 MB / 268.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.02499, allocations: 16.03 kB / 268.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.02501, allocations: 19.98 kB / 268.2 MB, free: 5.973 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.0001725/0.02518, allocations: 148.5 kB / 268.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.02526, allocations: 71.81 kB / 268.4 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.02533, allocations: 79.08 kB / 268.5 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.02533, allocations: 4 kB / 268.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.02535, allocations: 4 kB / 268.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02535, allocations: 3.984 kB / 268.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.02657, allocations: 1.135 MB / 269.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02657, allocations: 4.156 kB / 269.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.0268, allocations: 111.8 kB / 269.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.02687, allocations: 67.52 kB / 269.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.02699, allocations: 55.78 kB / 269.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.02702, allocations: 23.98 kB / 269.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009544/0.02797, allocations: 1.698 MB / 271.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.02797, allocations: 3.984 kB / 271.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.0287, allocations: 0.4997 MB / 272.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.02875, allocations: 16 kB / 272.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.02891, allocations: 39.91 kB / 272.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.02897, allocations: 32.44 kB / 272.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.02899, allocations: 12 kB / 272.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.02917, allocations: 252.6 kB / 272.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02917, allocations: 4.031 kB / 272.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000465/0.02964, allocations: 212 kB / 272.7 MB, free: 1.312 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.0001258/0.02977, allocations: 96.3 kB / 272.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.03022, allocations: 402.4 kB / 273.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/0.03024, allocations: 12.12 kB / 273.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.0305, allocations: 303 kB / 273.5 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.03097, allocations: 222.1 kB / 273.7 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/0.03712, allocations: 2.034 MB / 275.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.03744, allocations: 321.5 kB / 276 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.03772, allocations: 85.7 kB / 276.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.03804, allocations: 209.2 kB / 276.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.894e-06/0.03804, allocations: 4 kB / 276.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of Templates: time 0.01603/0.05407, allocations: 11.69 MB / 288 MB, free: 2.09 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 -ignoreHideResult -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.6938152024522424]