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.00131/0.00131, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001226/0.001226, allocations: 171.4 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.8759/0.8759, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.783e-06/1.783e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.466e-05, allocations: 2.312 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006144/0.006179, allocations: 3.715 MB / 254.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.008805, allocations: 1.048 MB / 255.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.009229, allocations: 27.75 kB / 255.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.009662, allocations: 154.8 kB / 256 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.01087, allocations: 318 kB / 256.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.01129, allocations: 151.7 kB / 256.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.01307, allocations: 1.494 MB / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.01399, allocations: 0.5916 MB / 258.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.01546, allocations: 0.9473 MB / 259.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.01687, allocations: 0.7834 MB / 260.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.01728, allocations: 160 kB / 260.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.01757, allocations: 156 kB / 260.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.018, allocations: 498.6 kB / 261 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008871/0.01889, allocations: 0.5262 MB / 261.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.02041, allocations: 1.235 MB / 262.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.02041, allocations: 0 / 262.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.02042, allocations: 3.984 kB / 262.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.374e-05/0.02046, allocations: 0 / 262.8 MB, free: 7.738 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.002911/0.02337, allocations: 1.785 MB / 264.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.02342, allocations: 15.98 kB / 264.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.0238, allocations: 236 kB / 264.8 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.02497, allocations: 0.6817 MB / 265.5 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.02504, allocations: 82.62 kB / 265.6 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.02522, allocations: 120.3 kB / 265.7 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.02722, allocations: 1.04 MB / 266.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.02724, allocations: 0 / 266.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.02735, allocations: 48 kB / 266.8 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.02738, allocations: 31.98 kB / 266.8 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.02856, allocations: 381 kB / 267.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006265/0.03482, allocations: 3.464 MB / 270.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.03533, allocations: 372.8 kB / 271 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/0.03916, allocations: 254 kB / 271.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.0392, allocations: 8.5 kB / 271.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.03924, allocations: 45.88 kB / 271.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 4.299e-06/0.03925, allocations: 0 / 271.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001096/0.04034, allocations: 404.6 kB / 271.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.04038, allocations: 59.91 kB / 271.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.04143, allocations: 0.6792 MB / 272.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.04148, allocations: 37.7 kB / 272.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.04197, allocations: 0.6197 MB / 273.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.04216, allocations: 198.3 kB / 273.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.04235, allocations: 108 kB / 273.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.04261, allocations: 0.5859 MB / 274 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.04284, allocations: 77.25 kB / 274.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.04313, allocations: 207.8 kB / 274.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.04367, allocations: 322.7 kB / 274.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.04367, allocations: 0 / 274.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000841/0.04452, allocations: 421.1 kB / 275 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.04454, allocations: 11.88 kB / 275 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.04455, allocations: 4 kB / 275 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.04457, allocations: 4 kB / 275 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.04518, allocations: 143.8 kB / 275.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.0452, allocations: 7.938 kB / 275.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.0456, allocations: 59.59 kB / 275.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.04565, allocations: 20 kB / 275.3 MB, free: 10.8 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.0003319/0.04598, allocations: 192.5 kB / 275.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.04612, allocations: 91.53 kB / 275.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.04625, allocations: 78.83 kB / 275.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.04626, allocations: 8 kB / 275.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.04627, allocations: 0 / 275.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.04627, allocations: 3.984 kB / 275.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.04892, allocations: 1.418 MB / 277 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.04893, allocations: 3.938 kB / 277.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.0494, allocations: 115.9 kB / 277.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.04941, allocations: 4 kB / 277.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.04945, allocations: 12 kB / 277.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.04946, allocations: 4 kB / 277.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.04946, allocations: 0 / 277.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.05038, allocations: 0.6271 MB / 277.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.05057, allocations: 103.3 kB / 277.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.05067, allocations: 16 kB / 277.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.05103, allocations: 39.95 kB / 278 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.05115, allocations: 44.42 kB / 278 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.05118, allocations: 12 kB / 278 MB, free: 7.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005888/0.05177, allocations: 442.9 kB / 278.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.05177, allocations: 8 kB / 278.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008797/0.05265, allocations: 283.1 kB / 278.7 MB, free: 7.207 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.000181/0.05283, allocations: 111.2 kB / 278.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.05353, allocations: 283.2 kB / 279.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.05353, allocations: 4 kB / 279.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.05378, allocations: 160.2 kB / 279.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.05462, allocations: 174.8 kB / 279.5 MB, free: 6.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.05767, allocations: 1.951 MB / 281.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.05792, allocations: 366.7 kB / 281.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.05822, allocations: 157.4 kB / 281.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.05834, allocations: 52.5 kB / 282 MB, free: 3.871 MB / 266.7 MB Notification: Performance of SimCode: time 1.974e-06/0.05834, allocations: 0 / 282 MB, free: 3.871 MB / 266.7 MB Notification: Performance of Templates: time 0.01282/0.07116, allocations: 10.17 MB / 292.1 MB, free: 9.738 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: 3.0745909521356225]