Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 92.62 kB / 20.96 MB, free: 3.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 153.3 kB / 24.25 MB, free: 192 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.754e-05/4.055e-05, allocations: 6.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.009143/0.009184, allocations: 3.468 MB / 270.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.01238, allocations: 0.9229 MB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.01282, allocations: 27.81 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.0134, allocations: 158.8 kB / 271.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.01476, allocations: 306.1 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.01523, allocations: 127.8 kB / 272.3 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.0178, allocations: 1.435 MB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.01929, allocations: 0.6157 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.02126, allocations: 0.92 MB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.02303, allocations: 0.7131 MB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.0234, allocations: 156 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.02382, allocations: 156 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007874/0.02461, allocations: 482.6 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.02603, allocations: 0.5106 MB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.0298, allocations: 2.064 MB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.02981, allocations: 0 / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.731e-06/0.02982, allocations: 3.984 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.02986, allocations: 0 / 279.3 MB, free: 10.61 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005123/0.03498, allocations: 1.603 MB / 280.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.03504, allocations: 8.031 kB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.03571, allocations: 240 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.03817, allocations: 0.8544 MB / 282 MB, free: 7.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.0383, allocations: 82.59 kB / 282.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.03861, allocations: 116.4 kB / 282.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.04332, allocations: 1.703 MB / 283.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.04336, allocations: 0 / 283.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.04356, allocations: 44 kB / 284 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/0.04361, allocations: 28 kB / 284 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.04761, allocations: 1.316 MB / 285.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.05839, allocations: 3.683 MB / 289 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.06, allocations: 0.6093 MB / 289.6 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1449/0.2049, allocations: 426.7 kB / 290 MB, free: 32.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.2049, allocations: 9.562 kB / 290 MB, free: 32.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2049, allocations: 39.62 kB / 290.1 MB, free: 32.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.2049, allocations: 0 / 290.1 MB, free: 32.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.00375/0.2087, allocations: 1.893 MB / 292 MB, free: 31.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2087, allocations: 57.25 kB / 292 MB, free: 31.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2098, allocations: 0.7929 MB / 292.8 MB, free: 31.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.2098, allocations: 37.77 kB / 292.9 MB, free: 31.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.2101, allocations: 0.559 MB / 293.4 MB, free: 30.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2102, allocations: 183 kB / 293.6 MB, free: 30.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.2104, allocations: 103.8 kB / 293.7 MB, free: 30.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2105, allocations: 384.8 kB / 294.1 MB, free: 30.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.211, allocations: 306.7 kB / 294.4 MB, free: 30.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.2116, allocations: 410.6 kB / 294.8 MB, free: 30.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.2126, allocations: 0.6988 MB / 295.5 MB, free: 29.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2126, allocations: 1.906 kB / 295.5 MB, free: 29.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001628/0.2142, allocations: 0.9378 MB / 296.4 MB, free: 29.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2143, allocations: 6.188 kB / 296.4 MB, free: 29.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2143, allocations: 3.25 kB / 296.4 MB, free: 29.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.2146, allocations: 116.4 kB / 296.5 MB, free: 29.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.2152, allocations: 120.1 kB / 296.7 MB, free: 29.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.2175, allocations: 2.223 MB / 298.9 MB, free: 27.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.2179, allocations: 27.05 kB / 298.9 MB, free: 27.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.218, allocations: 19.09 kB / 298.9 MB, free: 27.55 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.0008232/0.2188, allocations: 461 kB / 299.4 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.219, allocations: 94.56 kB / 299.5 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.2192, allocations: 87.98 kB / 299.6 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2192, allocations: 5.234 kB / 299.6 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/0.2192, allocations: 2.531 kB / 299.6 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2192, allocations: 2.625 kB / 299.6 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/0.2234, allocations: 1.751 MB / 301.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.2234, allocations: 4.141 kB / 301.3 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.2237, allocations: 88.89 kB / 301.4 MB, free: 26.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.224, allocations: 108.3 kB / 301.5 MB, free: 26.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.2241, allocations: 15.94 kB / 301.5 MB, free: 26.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.2261, allocations: 2.191 MB / 303.7 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2261, allocations: 6.719 kB / 303.7 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.228, allocations: 1.203 MB / 304.9 MB, free: 24.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.2283, allocations: 90.09 kB / 305 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.2283, allocations: 19.88 kB / 305 MB, free: 24.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.2287, allocations: 46.03 kB / 305.1 MB, free: 24.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2289, allocations: 43.48 kB / 305.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.2289, allocations: 16.95 kB / 305.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006565/0.2295, allocations: 0.5635 MB / 305.7 MB, free: 23.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2295, allocations: 0 / 305.7 MB, free: 23.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008616/0.2304, allocations: 210.7 kB / 305.9 MB, free: 23.7 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.0001571/0.2306, allocations: 119.3 kB / 306 MB, free: 23.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.2319, allocations: 0.7954 MB / 306.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.2319, allocations: 5.312 kB / 306.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.2325, allocations: 483.5 kB / 307.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.2334, allocations: 166 kB / 307.5 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.2366, allocations: 2.201 MB / 309.7 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.2371, allocations: 0.7407 MB / 310.4 MB, free: 19.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.2376, allocations: 189.5 kB / 310.6 MB, free: 19.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2377, allocations: 48.5 kB / 310.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of SimCode: time 2.004e-06/0.2377, allocations: 0 / 310.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01581/0.2535, allocations: 10.35 MB / 321 MB, free: 9.176 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.569908423000015]