Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001781/0.001781, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.00208/0.00208, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.458/1.458, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 47.92 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1185, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.007242/0.1258, allocations: 3.803 MB / 431.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2216/0.3474, allocations: 1.013 MB / 432.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.3477, allocations: 30.75 kB / 432.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.348, allocations: 155.8 kB / 432.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007415/0.3488, allocations: 281.6 kB / 432.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.349, allocations: 141.3 kB / 432.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3502, allocations: 1.404 MB / 434.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009821/0.3511, allocations: 0.88 MB / 435.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007826/0.3519, allocations: 0.6506 MB / 435.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000949/0.3529, allocations: 0.7721 MB / 436.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.3531, allocations: 156.6 kB / 436.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3534, allocations: 158.1 kB / 436.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.3538, allocations: 465.1 kB / 437.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.3545, allocations: 0.7303 MB / 438.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.3569, allocations: 2.054 MB / 440.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3569, allocations: 4 kB / 440.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3569, allocations: 1.031 kB / 440.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.203e-05/0.3569, allocations: 1.031 kB / 440.1 MB, free: 5.98 MB / 350.1 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.00384/0.3608, allocations: 1.709 MB / 441.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3608, allocations: 9.438 kB / 441.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.3614, allocations: 173.3 kB / 442 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.3629, allocations: 0.896 MB / 442.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.363, allocations: 86.97 kB / 443 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.3632, allocations: 116.3 kB / 443.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.3659, allocations: 1.54 MB / 444.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.366, allocations: 0 / 444.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3661, allocations: 47.94 kB / 444.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.3661, allocations: 26.69 kB / 444.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.3685, allocations: 1.319 MB / 446.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006926/0.3754, allocations: 4.179 MB / 450.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/0.3764, allocations: 1.28 MB / 451.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/0.3772, allocations: 435.7 kB / 451.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.3772, allocations: 5.688 kB / 452 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.3773, allocations: 42.3 kB / 452 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.3773, allocations: 2.906 kB / 452 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003868/0.3811, allocations: 1.956 MB / 454 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3812, allocations: 61.34 kB / 454 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.3825, allocations: 0.8258 MB / 454.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.3826, allocations: 32.11 kB / 454.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.3831, allocations: 0.5553 MB / 455.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3832, allocations: 186.1 kB / 455.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3834, allocations: 102.8 kB / 455.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000239/0.3837, allocations: 391.7 kB / 456.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.3842, allocations: 308.1 kB / 456.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.3848, allocations: 398.1 kB / 456.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3858, allocations: 0.7059 MB / 457.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3858, allocations: 1.469 kB / 457.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00157/0.3874, allocations: 0.9171 MB / 458.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3874, allocations: 5.938 kB / 458.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3874, allocations: 2.281 kB / 458.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.3877, allocations: 112.8 kB / 458.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.3882, allocations: 125.6 kB / 458.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.3908, allocations: 2.364 MB / 461 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.3913, allocations: 32 kB / 461 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.3913, allocations: 18.59 kB / 461.1 MB, free: 9.453 MB / 366.1 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.0008584/0.3922, allocations: 451.9 kB / 461.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.3923, allocations: 84.86 kB / 461.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.3925, allocations: 90.89 kB / 461.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3926, allocations: 4.906 kB / 461.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3926, allocations: 6.312 kB / 461.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3926, allocations: 7.922 kB / 461.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.3962, allocations: 2.014 MB / 463.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3962, allocations: 1.969 kB / 463.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.3966, allocations: 93.25 kB / 463.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.3969, allocations: 101.4 kB / 463.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.3969, allocations: 12.09 kB / 463.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.3994, allocations: 2.33 MB / 466.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.3994, allocations: 5.516 kB / 466.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.4014, allocations: 1.198 MB / 467.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.4017, allocations: 166.2 kB / 467.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.4018, allocations: 12.88 kB / 467.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.4022, allocations: 48.7 kB / 467.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4024, allocations: 44.58 kB / 467.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.4024, allocations: 20.45 kB / 467.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009522/0.4034, allocations: 0.5872 MB / 468.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4034, allocations: 0 / 468.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001102/0.4045, allocations: 210.2 kB / 468.5 MB, free: 4.301 MB / 366.1 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.0001886/0.4047, allocations: 115.3 kB / 468.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.4062, allocations: 0.8079 MB / 469.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4062, allocations: 0 / 469.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.4069, allocations: 480.2 kB / 469.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.4078, allocations: 169.8 kB / 470.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.4116, allocations: 2.24 MB / 472.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.4126, allocations: 1.315 MB / 473.6 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.4128, allocations: 55.42 kB / 473.7 MB, free: 380 kB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4128, allocations: 0 / 473.7 MB, free: 380 kB / 366.1 MB Notification: Performance of Templates: time 0.02722/0.44, allocations: 19.06 MB / 492.7 MB, free: 13.39 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.950426074006828]