Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.001008/0.001008, allocations: 71.77 kB / 22.45 MB, free: 2.094 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.00121/0.00121, allocations: 160.1 kB / 25.75 MB, free: 8.945 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.8684/0.8684, allocations: 158.6 MB / 187.5 MB, free: 2.934 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.7e-05, allocations: 2.312 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003482/0.003499, allocations: 3.696 MB / 254.8 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004781, allocations: 1.048 MB / 255.8 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.004959, allocations: 23.81 kB / 255.9 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.005216, allocations: 162.8 kB / 256 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006183/0.005834, allocations: 318 kB / 256.3 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.006043, allocations: 143.7 kB / 256.5 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009014/0.006944, allocations: 1.494 MB / 258 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.007489, allocations: 0.5993 MB / 258.6 MB, free: 268 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.008595, allocations: 0.9473 MB / 259.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.009403, allocations: 0.7756 MB / 260.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.009541, allocations: 163.9 kB / 260.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.00969, allocations: 160 kB / 260.6 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.01001, allocations: 490.6 kB / 261.1 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.01041, allocations: 0.5184 MB / 261.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.01129, allocations: 1.239 MB / 262.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01129, allocations: 0 / 262.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01129, allocations: 4 kB / 262.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.0113, allocations: 0 / 262.8 MB, free: 11.97 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001883/0.01319, allocations: 1.781 MB / 264.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01322, allocations: 19.98 kB / 264.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.01347, allocations: 236 kB / 264.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.01422, allocations: 0.6855 MB / 265.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.01427, allocations: 82.62 kB / 265.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.01439, allocations: 116.4 kB / 265.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.01555, allocations: 1.04 MB / 266.8 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.01557, allocations: 0 / 266.8 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.01564, allocations: 44 kB / 266.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.01566, allocations: 35.98 kB / 266.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.01636, allocations: 385 kB / 267.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.01998, allocations: 3.468 MB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.02041, allocations: 362 kB / 271.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.02081, allocations: 258 kB / 271.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.02083, allocations: 12.44 kB / 271.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.02086, allocations: 41.89 kB / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 2.064e-06/0.02086, allocations: 0 / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0005849/0.02145, allocations: 400.6 kB / 271.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.02148, allocations: 55.91 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.02204, allocations: 0.6831 MB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.02207, allocations: 37.7 kB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.02238, allocations: 0.6275 MB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.02249, allocations: 194.4 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.02265, allocations: 112 kB / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.02284, allocations: 0.5859 MB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.02299, allocations: 77.2 kB / 274.1 MB, free: 304 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.02318, allocations: 207.8 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.02354, allocations: 318.7 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02355, allocations: 0 / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000691/0.02424, allocations: 416.9 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.02426, allocations: 4 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02427, allocations: 4 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.02429, allocations: 8.281 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.02481, allocations: 147.8 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.02482, allocations: 4 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.02509, allocations: 67.59 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.02513, allocations: 16 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.02535, allocations: 188.4 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.02549, allocations: 91.53 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.02561, allocations: 82.83 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.02562, allocations: 4 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.02563, allocations: 7.984 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.02563, allocations: 0 / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.02793, allocations: 1.41 MB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.02794, allocations: 3.938 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.02833, allocations: 120 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.02834, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.02838, allocations: 12 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.02839, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.02839, allocations: 7.938 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/0.02919, allocations: 0.627 MB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.02931, allocations: 95.31 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.02938, allocations: 12 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.02961, allocations: 51.95 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.0297, allocations: 44.41 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.02972, allocations: 19.97 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003945/0.03011, allocations: 435 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03011, allocations: 0 / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006228/0.03074, allocations: 287.1 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002218/0.03096, allocations: 119.2 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.03149, allocations: 287.1 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.0315, allocations: 4 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.03167, allocations: 151.4 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.03228, allocations: 175.6 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.03493, allocations: 1.958 MB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.03517, allocations: 362.7 kB / 281.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.03545, allocations: 157.5 kB / 282 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.03557, allocations: 56.5 kB / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of SimCode: time 2.184e-06/0.03557, allocations: 0 / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of Templates: time 0.0133/0.04887, allocations: 9.712 MB / 291.7 MB, free: 14.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.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.8687060978263617]