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.001897/0.001897, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001267/0.001267, allocations: 165 kB / 25.33 MB, free: 9.035 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 1.009/1.009, allocations: 158.6 MB / 187.2 MB, free: 2.906 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 2.434e-06/2.434e-06, allocations: 0 / 251 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.211e-05, allocations: 2.312 kB / 251 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004299/0.004331, allocations: 3.704 MB / 254.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.006896, allocations: 1.002 MB / 255.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.007281, allocations: 27.81 kB / 255.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.007664, allocations: 162.8 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009773/0.008641, allocations: 310 kB / 256.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.009005, allocations: 135.8 kB / 256.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.0104, allocations: 1.454 MB / 257.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/0.01107, allocations: 0.5796 MB / 258.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.01222, allocations: 0.9161 MB / 259.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.01335, allocations: 0.7717 MB / 260.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.01368, allocations: 156 kB / 260.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.01392, allocations: 156 kB / 260.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.01428, allocations: 478.6 kB / 260.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.01489, allocations: 0.5184 MB / 261.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.01601, allocations: 1.223 MB / 262.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01601, allocations: 0 / 262.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01602, allocations: 4 kB / 262.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.01606, allocations: 0 / 262.6 MB, free: 7.98 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.002542/0.0186, allocations: 1.766 MB / 264.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.01865, allocations: 11.98 kB / 264.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.0189, allocations: 236 kB / 264.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/0.01971, allocations: 0.6662 MB / 265.3 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.01976, allocations: 82.53 kB / 265.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.01989, allocations: 116.4 kB / 265.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.02108, allocations: 1.024 MB / 266.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.0211, allocations: 3.938 kB / 266.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/0.02116, allocations: 48 kB / 266.5 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.02118, allocations: 27.98 kB / 266.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.02184, allocations: 384.8 kB / 266.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.02544, allocations: 3.378 MB / 270.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.02589, allocations: 351.8 kB / 270.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.02621, allocations: 205.8 kB / 270.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.02624, allocations: 8.5 kB / 270.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.02627, allocations: 41.89 kB / 270.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.787e-06/0.02627, allocations: 0 / 270.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001831/0.0281, allocations: 1.037 MB / 271.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.02814, allocations: 55.91 kB / 272 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.02875, allocations: 0.6753 MB / 272.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.02879, allocations: 37.7 kB / 272.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.0291, allocations: 0.6236 MB / 273.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.02922, allocations: 194.4 kB / 273.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.02934, allocations: 108 kB / 273.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.02956, allocations: 0.5898 MB / 274.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.02971, allocations: 69.27 kB / 274.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.02993, allocations: 219.5 kB / 274.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.0303, allocations: 318.4 kB / 274.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.0303, allocations: 4 kB / 274.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000644/0.03094, allocations: 472.6 kB / 275.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.03097, allocations: 8 kB / 275.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.03097, allocations: 4 kB / 275.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.03121, allocations: 67.69 kB / 275.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.03152, allocations: 119.9 kB / 275.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.0331, allocations: 2.36 MB / 277.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.03334, allocations: 28.02 kB / 277.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.03336, allocations: 20 kB / 277.9 MB, free: 8.035 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.0002559/0.03362, allocations: 188.4 kB / 278.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.03371, allocations: 91.53 kB / 278.2 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/0.03379, allocations: 86.8 kB / 278.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.0338, allocations: 8 kB / 278.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.03381, allocations: 0 / 278.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.03381, allocations: 0 / 278.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.03568, allocations: 1.46 MB / 279.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.03569, allocations: 4.156 kB / 279.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.03588, allocations: 87.83 kB / 279.8 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.03604, allocations: 75.56 kB / 279.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.03607, allocations: 12 kB / 279.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.03747, allocations: 2.317 MB / 282.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.03747, allocations: 4 kB / 282.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.03821, allocations: 0.6695 MB / 282.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.03832, allocations: 83.55 kB / 283 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.03836, allocations: 20 kB / 283 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.03855, allocations: 43.95 kB / 283 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.03865, allocations: 44.42 kB / 283.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.03868, allocations: 19.98 kB / 283.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003821/0.03906, allocations: 431 kB / 283.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03906, allocations: 0 / 283.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000629/0.03969, allocations: 212 kB / 283.7 MB, free: 1.953 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.0001468/0.03983, allocations: 111.2 kB / 283.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000729/0.04056, allocations: 0.5044 MB / 284.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04056, allocations: 0 / 284.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.04094, allocations: 385.1 kB / 284.7 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.04151, allocations: 171.4 kB / 284.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.04433, allocations: 1.897 MB / 286.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.0446, allocations: 366.8 kB / 287.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.04487, allocations: 133.5 kB / 287.2 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.04498, allocations: 52.48 kB / 287.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of SimCode: time 3.296e-06/0.04498, allocations: 0 / 287.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of Templates: time 0.0158/0.06078, allocations: 10.28 MB / 297.6 MB, free: 3.977 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.214648134075105]