Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.00139/0.00139, allocations: 85.56 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001428/0.001428, allocations: 166.9 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.924e-05, allocations: 2.281 kB / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005413/0.005442, allocations: 3.497 MB / 328.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.008005, allocations: 1.047 MB / 329.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.008299, allocations: 32.97 kB / 329.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.0087, allocations: 159.8 kB / 329.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.009725, allocations: 318.7 kB / 330.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.01007, allocations: 134.5 kB / 330.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.0118, allocations: 1.463 MB / 331.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009199/0.01272, allocations: 0.644 MB / 332.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.01408, allocations: 0.9505 MB / 333.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.01528, allocations: 0.7307 MB / 334 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.01551, allocations: 159.2 kB / 334.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.01584, allocations: 161.6 kB / 334.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.01635, allocations: 482.8 kB / 334.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008983/0.01725, allocations: 0.5173 MB / 335.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.01986, allocations: 2.117 MB / 337.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.01987, allocations: 1.156 kB / 337.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01987, allocations: 0 / 337.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.649e-05/0.01991, allocations: 0 / 337.4 MB, free: 8.68 MB / 302.1 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.003762/0.02368, allocations: 1.647 MB / 339.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.02372, allocations: 8.031 kB / 339.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.02431, allocations: 176 kB / 339.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.02603, allocations: 0.8584 MB / 340.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/0.02611, allocations: 86.62 kB / 340.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.02632, allocations: 108.4 kB / 340.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.02932, allocations: 1.727 MB / 342 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.02935, allocations: 0 / 342 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.02947, allocations: 51.98 kB / 342.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.0295, allocations: 28 kB / 342.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.03196, allocations: 1.328 MB / 343.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007493/0.03945, allocations: 3.722 MB / 347.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.04049, allocations: 0.6234 MB / 347.8 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009719/0.04146, allocations: 0.5024 MB / 348.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.04149, allocations: 4.5 kB / 348.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.04154, allocations: 43 kB / 348.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.294e-06/0.04154, allocations: 0 / 348.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.0017/0.04324, allocations: 0.8751 MB / 349.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.04331, allocations: 63.91 kB / 349.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.04452, allocations: 0.8047 MB / 350.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.04458, allocations: 33.7 kB / 350.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.04508, allocations: 0.5584 MB / 350.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.04524, allocations: 186.4 kB / 350.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.04542, allocations: 102.3 kB / 350.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.04564, allocations: 386.7 kB / 351.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.04613, allocations: 301.1 kB / 351.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.04669, allocations: 399.4 kB / 352 MB, free: 9.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.04773, allocations: 0.6895 MB / 352.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.04773, allocations: 4 kB / 352.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001382/0.04912, allocations: 0.817 MB / 353.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.04914, allocations: 8 kB / 353.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.04915, allocations: 288 / 353.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.04917, allocations: 8 kB / 353.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.04981, allocations: 147.8 kB / 353.7 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.04983, allocations: 4 kB / 353.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.05028, allocations: 63.59 kB / 353.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.05032, allocations: 20 kB / 353.8 MB, free: 7.953 MB / 318.1 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.0007362/0.05105, allocations: 465.7 kB / 354.2 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.05118, allocations: 75.53 kB / 354.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.05136, allocations: 87.08 kB / 354.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.05137, allocations: 15.94 kB / 354.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.05137, allocations: 0 / 354.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.05138, allocations: 3.984 kB / 354.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.05441, allocations: 1.689 MB / 356.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.05442, allocations: 3.938 kB / 356.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.05494, allocations: 115.9 kB / 356.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.05495, allocations: 7.938 kB / 356.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.05499, allocations: 12 kB / 356.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.05499, allocations: 4 kB / 356.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.055, allocations: 4 kB / 356.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.05677, allocations: 1.132 MB / 357.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.05701, allocations: 95.38 kB / 357.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.05711, allocations: 19.98 kB / 357.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.05754, allocations: 47.95 kB / 357.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.05766, allocations: 36.44 kB / 357.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.0577, allocations: 19.98 kB / 357.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008962/0.0586, allocations: 0.577 MB / 358.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0586, allocations: 0 / 358.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000913/0.05951, allocations: 283.1 kB / 358.4 MB, free: 3.191 MB / 318.1 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.0001998/0.05971, allocations: 119.1 kB / 358.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.06088, allocations: 0.6385 MB / 359.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.06088, allocations: 0 / 359.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.06138, allocations: 310.6 kB / 359.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009076/0.06229, allocations: 167.6 kB / 359.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.06612, allocations: 2.221 MB / 361.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008088/0.06693, allocations: 0.7485 MB / 362.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.06739, allocations: 213.5 kB / 362.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.06755, allocations: 52.5 kB / 362.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.06756, allocations: 0 / 362.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.02131/0.08887, allocations: 9.771 MB / 372.7 MB, free: 5.059 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.699613161385059]