Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001911/0.001911, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.171e-05, allocations: 2.312 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005897/0.005929, allocations: 3.75 MB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.008315, allocations: 1.075 MB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.008617, allocations: 27.81 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.009048, allocations: 162.8 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01008, allocations: 325.9 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.01041, allocations: 143.8 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.01219, allocations: 1.474 MB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.0132, allocations: 0.6435 MB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.01476, allocations: 0.9707 MB / 280.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.0162, allocations: 0.7834 MB / 281.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.01651, allocations: 160 kB / 281.7 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.01688, allocations: 164 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.01742, allocations: 0.4908 MB / 282.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008223/0.01824, allocations: 0.53 MB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.02085, allocations: 2.135 MB / 285 MB, free: 4.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.02085, allocations: 0 / 285 MB, free: 4.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02085, allocations: 0 / 285 MB, free: 4.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.02089, allocations: 0 / 285 MB, free: 4.945 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003955/0.02484, allocations: 1.894 MB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.0249, allocations: 11.98 kB / 286.9 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.02564, allocations: 260 kB / 287.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.02739, allocations: 0.7831 MB / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.02752, allocations: 94.55 kB / 288 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.02776, allocations: 108.4 kB / 288.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1616/0.1894, allocations: 1.722 MB / 289.9 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/0.1894, allocations: 0.625 kB / 289.9 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/0.1897, allocations: 47 kB / 289.9 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/0.1898, allocations: 45.66 kB / 289.9 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.1927, allocations: 1.185 MB / 291.1 MB, free: 27.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007074/0.1998, allocations: 4.418 MB / 295.6 MB, free: 25.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.2005, allocations: 0.5426 MB / 296.1 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.2013, allocations: 438.2 kB / 296.5 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.2013, allocations: 10.5 kB / 296.5 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.2014, allocations: 41.64 kB / 296.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.024e-06/0.2014, allocations: 0 / 296.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001194/0.2026, allocations: 0.7363 MB / 297.3 MB, free: 24.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.2026, allocations: 58.77 kB / 297.4 MB, free: 24.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.2036, allocations: 0.8957 MB / 298.3 MB, free: 24.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2036, allocations: 36.17 kB / 298.3 MB, free: 24.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.2039, allocations: 0.6568 MB / 299 MB, free: 23.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.204, allocations: 206.2 kB / 299.2 MB, free: 23.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.2042, allocations: 124.3 kB / 299.3 MB, free: 23.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2044, allocations: 0.6169 MB / 299.9 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.2047, allocations: 235.2 kB / 300.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.2052, allocations: 389.8 kB / 300.5 MB, free: 22.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.2059, allocations: 0.6187 MB / 301.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2059, allocations: 1.125 kB / 301.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009907/0.2069, allocations: 0.7175 MB / 301.8 MB, free: 21.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2069, allocations: 9.297 kB / 301.8 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2069, allocations: 6.406 kB / 301.9 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.207, allocations: 5.5 kB / 301.9 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.2075, allocations: 148 kB / 302 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2075, allocations: 12 kB / 302 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.2079, allocations: 53.62 kB / 302.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2079, allocations: 21.55 kB / 302.1 MB, free: 21.94 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.0004364/0.2083, allocations: 442.3 kB / 302.5 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2085, allocations: 90.16 kB / 302.6 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.2086, allocations: 89.59 kB / 302.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2086, allocations: 4.312 kB / 302.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.2086, allocations: 0 / 302.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2086, allocations: 8.781 kB / 302.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.2114, allocations: 1.853 MB / 304.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2114, allocations: 0 / 304.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.2118, allocations: 119.6 kB / 304.7 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.2118, allocations: 3.281 kB / 304.7 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.2119, allocations: 12.44 kB / 304.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2119, allocations: 6.438 kB / 304.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2119, allocations: 0 / 304.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.2128, allocations: 0.9671 MB / 305.7 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.213, allocations: 91.47 kB / 305.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/0.2131, allocations: 17.56 kB / 305.8 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2134, allocations: 48.58 kB / 305.8 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.2135, allocations: 44.36 kB / 305.9 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.2136, allocations: 14.28 kB / 305.9 MB, free: 19.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005075/0.2141, allocations: 0.5809 MB / 306.5 MB, free: 18.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2141, allocations: 0 / 306.5 MB, free: 18.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.2146, allocations: 291 kB / 306.7 MB, free: 18.7 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.0001074/0.2147, allocations: 122.4 kB / 306.9 MB, free: 18.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007112/0.2155, allocations: 0.5497 MB / 307.4 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2155, allocations: 0 / 307.4 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.2158, allocations: 272.4 kB / 307.7 MB, free: 17.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.2165, allocations: 163.9 kB / 307.8 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.2189, allocations: 2.107 MB / 309.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.2194, allocations: 0.6901 MB / 310.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.2197, allocations: 153.8 kB / 310.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.2198, allocations: 56.5 kB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2198, allocations: 0 / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Templates: time 0.0137/0.2336, allocations: 9.768 MB / 320.6 MB, free: 4.961 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.794651476084255]