Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.00121/0.00121, allocations: 88.98 kB / 23 MB, free: 1.5 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.001247/0.001247, allocations: 175.5 kB / 26.39 MB, free: 7.988 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.9527/0.9527, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.199e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003681/0.003703, allocations: 3.647 MB / 255.9 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.004973, allocations: 1.002 MB / 256.9 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.005144, allocations: 23.81 kB / 256.9 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.005396, allocations: 158.8 kB / 257.1 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006527/0.006048, allocations: 314 kB / 257.4 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.006241, allocations: 127.8 kB / 257.5 MB, free: 1.973 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.007083, allocations: 1.458 MB / 259 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004853/0.007568, allocations: 0.5756 MB / 259.5 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.008134, allocations: 0.9239 MB / 260.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.008753, allocations: 0.7717 MB / 261.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.008869, allocations: 156 kB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.008998, allocations: 156 kB / 261.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.009245, allocations: 486.6 kB / 262 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.009575, allocations: 0.5145 MB / 262.5 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.01031, allocations: 1.227 MB / 263.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01032, allocations: 0 / 263.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01032, allocations: 4 kB / 263.7 MB, free: 11.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.01032, allocations: 0 / 263.7 MB, free: 11.66 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.001445/0.01177, allocations: 1.703 MB / 265.5 MB, free: 9.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.0118, allocations: 11.98 kB / 265.5 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.01199, allocations: 232 kB / 265.7 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.01254, allocations: 0.6192 MB / 266.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.01258, allocations: 86.59 kB / 266.4 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.01268, allocations: 108.4 kB / 266.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.01348, allocations: 0.9575 MB / 267.5 MB, free: 7.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.0135, allocations: 4 kB / 267.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.01356, allocations: 44 kB / 267.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.01357, allocations: 28 kB / 267.5 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.01421, allocations: 291 kB / 267.8 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.01765, allocations: 3.078 MB / 270.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.01797, allocations: 315.8 kB / 271.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.01816, allocations: 178.2 kB / 271.4 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01819, allocations: 12.48 kB / 271.4 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.01821, allocations: 41.89 kB / 271.4 MB, free: 3.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.974e-06/0.01821, allocations: 0 / 271.4 MB, free: 3.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.001557/0.01977, allocations: 0.8348 MB / 272.3 MB, free: 2.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.0198, allocations: 59.91 kB / 272.3 MB, free: 2.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.02028, allocations: 0.6554 MB / 273 MB, free: 2.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.02031, allocations: 37.7 kB / 273 MB, free: 2.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.02061, allocations: 0.6235 MB / 273.6 MB, free: 1.371 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.02071, allocations: 202.3 kB / 273.8 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.02083, allocations: 115.9 kB / 273.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.02101, allocations: 0.5858 MB / 274.5 MB, free: 464 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.02109, allocations: 65.25 kB / 274.6 MB, free: 400 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.02125, allocations: 203.4 kB / 274.8 MB, free: 148 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.02153, allocations: 290.3 kB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02153, allocations: 7.875 kB / 275.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004849/0.02202, allocations: 432.7 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.02204, allocations: 12.03 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02204, allocations: 0 / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.02222, allocations: 63.53 kB / 275.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.0225, allocations: 115.9 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.02381, allocations: 2.302 MB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.024, allocations: 16 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.02403, allocations: 15.98 kB / 278 MB, free: 12.74 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.0002389/0.02426, allocations: 192.6 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.02435, allocations: 99.47 kB / 278.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.02443, allocations: 78.83 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.02443, allocations: 4 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.02444, allocations: 0 / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.02445, allocations: 7.984 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.02625, allocations: 1.421 MB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02626, allocations: 0 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.02643, allocations: 79.89 kB / 279.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.02657, allocations: 75.72 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.02659, allocations: 23.98 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.02782, allocations: 2.275 MB / 282.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.02782, allocations: 3.938 kB / 282.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.02842, allocations: 0.6226 MB / 282.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.02853, allocations: 83.5 kB / 283 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.02858, allocations: 8.062 kB / 283 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.02875, allocations: 35.98 kB / 283 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.02883, allocations: 44.36 kB / 283.1 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02885, allocations: 8 kB / 283.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.02914, allocations: 406.9 kB / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02914, allocations: 0 / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006481/0.02979, allocations: 208 kB / 283.7 MB, free: 6.844 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.0001506/0.02994, allocations: 111.2 kB / 283.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.03052, allocations: 483.8 kB / 284.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.03052, allocations: 4 kB / 284.3 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.03083, allocations: 374 kB / 284.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.03134, allocations: 170.8 kB / 284.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.03412, allocations: 1.866 MB / 286.7 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.03437, allocations: 366.8 kB / 287 MB, free: 3.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.03459, allocations: 85.62 kB / 287.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.03491, allocations: 242.1 kB / 287.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03491, allocations: 0 / 287.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of Templates: time 0.01576/0.05067, allocations: 11.15 MB / 298.5 MB, free: 7.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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.9550950662232935]