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.001369/0.001369, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001772/0.001772, allocations: 167.8 kB / 25.33 MB, free: 9.438 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.931/0.931, allocations: 158.6 MB / 187.2 MB, free: 2.504 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.152e-06/1.152e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.512e-05, allocations: 2.312 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003379/0.003395, allocations: 3.708 MB / 254.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.005184, allocations: 1.002 MB / 255.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.005426, allocations: 27.81 kB / 255.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.005689, allocations: 158.8 kB / 255.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.006362, allocations: 306 kB / 256.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.006656, allocations: 131.8 kB / 256.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.007869, allocations: 1.462 MB / 257.8 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.008483, allocations: 0.5718 MB / 258.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.009496, allocations: 0.92 MB / 259.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.01058, allocations: 0.7717 MB / 260.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.01079, allocations: 156 kB / 260.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.01098, allocations: 156 kB / 260.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.01127, allocations: 482.6 kB / 260.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.01169, allocations: 0.5145 MB / 261.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009019/0.01259, allocations: 1.227 MB / 262.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01259, allocations: 4 kB / 262.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0126, allocations: 0 / 262.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.01262, allocations: 0 / 262.6 MB, free: 7.949 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.0018/0.01442, allocations: 1.766 MB / 264.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01445, allocations: 11.98 kB / 264.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.01469, allocations: 236 kB / 264.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.01536, allocations: 0.6662 MB / 265.3 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.0154, allocations: 86.53 kB / 265.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.01551, allocations: 108.4 kB / 265.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.01663, allocations: 1.032 MB / 266.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.01665, allocations: 7.938 kB / 266.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.01671, allocations: 44 kB / 266.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.01673, allocations: 28 kB / 266.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.0174, allocations: 388.8 kB / 267 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.02062, allocations: 3.378 MB / 270.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.02102, allocations: 343.8 kB / 270.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.02131, allocations: 197.8 kB / 270.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.02134, allocations: 16.48 kB / 270.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.02137, allocations: 41.89 kB / 270.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.545e-06/0.02137, allocations: 0 / 270.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001658/0.02303, allocations: 1.033 MB / 271.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.02306, allocations: 59.91 kB / 272 MB, free: 14.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.02362, allocations: 0.6792 MB / 272.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.02365, allocations: 33.7 kB / 272.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.02395, allocations: 0.6275 MB / 273.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.02405, allocations: 194.4 kB / 273.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02416, allocations: 112 kB / 273.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.02433, allocations: 0.582 MB / 274.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.02445, allocations: 77.25 kB / 274.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.02464, allocations: 215.5 kB / 274.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.02497, allocations: 322.4 kB / 274.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.02498, allocations: 0 / 274.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00054/0.02552, allocations: 476.6 kB / 275.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.02553, allocations: 4 kB / 275.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.02554, allocations: 4 kB / 275.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.02574, allocations: 71.69 kB / 275.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.02602, allocations: 115.9 kB / 275.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.02725, allocations: 2.36 MB / 277.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.02741, allocations: 32 kB / 277.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.02743, allocations: 16 kB / 277.9 MB, free: 8 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.0001582/0.02759, allocations: 188.4 kB / 278.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.02768, allocations: 95.53 kB / 278.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.02774, allocations: 78.83 kB / 278.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02775, allocations: 4 kB / 278.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.02775, allocations: 4 kB / 278.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02776, allocations: 3.984 kB / 278.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.0292, allocations: 1.456 MB / 279.7 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02921, allocations: 4.031 kB / 279.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.02938, allocations: 87.83 kB / 279.8 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.02952, allocations: 67.58 kB / 279.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.02954, allocations: 19.98 kB / 279.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.03064, allocations: 2.325 MB / 282.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03065, allocations: 0 / 282.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.03126, allocations: 0.6734 MB / 282.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.03133, allocations: 71.56 kB / 283 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.03138, allocations: 23.92 kB / 283 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.03156, allocations: 43.95 kB / 283 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.03166, allocations: 44.42 kB / 283.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.03168, allocations: 12 kB / 283.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.03202, allocations: 443 kB / 283.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03202, allocations: 0 / 283.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004192/0.03244, allocations: 208 kB / 283.7 MB, free: 1.922 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.000107/0.03254, allocations: 107.2 kB / 283.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.03311, allocations: 0.5121 MB / 284.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03312, allocations: 0 / 284.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.03343, allocations: 381.1 kB / 284.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.03393, allocations: 179.4 kB / 284.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.036, allocations: 1.885 MB / 286.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.03622, allocations: 362.8 kB / 287.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.03644, allocations: 137.5 kB / 287.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.03653, allocations: 52.5 kB / 287.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.03653, allocations: 0 / 287.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01197/0.0485, allocations: 10.74 MB / 298 MB, free: 3.484 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: 3.018828854896128]