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.001355/0.001355, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001368/0.001368, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.0016/0.0016, allocations: 47.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09948, allocations: 53.34 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005301/0.1048, allocations: 3.799 MB / 430.6 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.21/0.3148, allocations: 1.011 MB / 431.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.3151, allocations: 30.88 kB / 431.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.3154, allocations: 157 kB / 431.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000752/0.3162, allocations: 284.9 kB / 432.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.3164, allocations: 140.6 kB / 432.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3176, allocations: 1.399 MB / 433.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.3186, allocations: 0.8819 MB / 434.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.3193, allocations: 0.6412 MB / 435.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.3201, allocations: 0.7786 MB / 435.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.3204, allocations: 156.3 kB / 436.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.3207, allocations: 161.9 kB / 436.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.3211, allocations: 468.6 kB / 436.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007199/0.3218, allocations: 0.7303 MB / 437.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.3242, allocations: 2.052 MB / 439.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3242, allocations: 0 / 439.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3242, allocations: 0 / 439.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.3242, allocations: 0 / 439.5 MB, free: 5.965 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.003004/0.3272, allocations: 1.702 MB / 441.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3272, allocations: 10.08 kB / 441.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.3278, allocations: 174.3 kB / 441.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.3292, allocations: 0.9073 MB / 442.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.3292, allocations: 82.91 kB / 442.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.3294, allocations: 111.7 kB / 442.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.3321, allocations: 1.547 MB / 444 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.3321, allocations: 0 / 444 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.3322, allocations: 46.59 kB / 444 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.3322, allocations: 27.5 kB / 444.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.3345, allocations: 1.315 MB / 445.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006569/0.3411, allocations: 4.183 MB / 449.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.3422, allocations: 1.283 MB / 450.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008737/0.3431, allocations: 430.2 kB / 451.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.3431, allocations: 10.83 kB / 451.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.3432, allocations: 40.09 kB / 451.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.866e-06/0.3432, allocations: 4 kB / 451.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.004018/0.3472, allocations: 1.956 MB / 453.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3472, allocations: 60.81 kB / 453.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3485, allocations: 0.8249 MB / 454.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3485, allocations: 36.08 kB / 454.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.3491, allocations: 0.5562 MB / 454.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.3492, allocations: 184.7 kB / 454.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.3494, allocations: 103.4 kB / 455 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.3497, allocations: 395.7 kB / 455.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.3502, allocations: 299.6 kB / 455.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.3507, allocations: 404.8 kB / 456.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3518, allocations: 0.7 MB / 456.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3518, allocations: 1.094 kB / 456.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001694/0.3535, allocations: 0.9173 MB / 457.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3535, allocations: 10.34 kB / 457.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3536, allocations: 2.906 kB / 457.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000303/0.3539, allocations: 113.3 kB / 457.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.3544, allocations: 119.8 kB / 458 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.3572, allocations: 2.371 MB / 460.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3576, allocations: 31.09 kB / 460.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.3576, allocations: 22.34 kB / 460.4 MB, free: 9.426 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.0007106/0.3583, allocations: 460.6 kB / 460.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3585, allocations: 76.94 kB / 460.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3587, allocations: 88.77 kB / 461 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3587, allocations: 5.656 kB / 461 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3587, allocations: 1.906 kB / 461 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3587, allocations: 7.922 kB / 461 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.3623, allocations: 2.007 MB / 463 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3624, allocations: 3.25 kB / 463 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.3627, allocations: 90.91 kB / 463.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003634/0.3631, allocations: 106.8 kB / 463.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.3631, allocations: 16.16 kB / 463.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.3659, allocations: 2.329 MB / 465.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3659, allocations: 2.156 kB / 465.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.368, allocations: 1.201 MB / 466.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.3682, allocations: 164.1 kB / 466.9 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/0.3683, allocations: 21.73 kB / 466.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.3687, allocations: 45.95 kB / 467 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3688, allocations: 40.02 kB / 467 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.3689, allocations: 18.27 kB / 467 MB, free: 4.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007649/0.3696, allocations: 0.5905 MB / 467.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3696, allocations: 4 kB / 467.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008094/0.3705, allocations: 211.9 kB / 467.8 MB, free: 4.27 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.0001763/0.3706, allocations: 114.6 kB / 468 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.3721, allocations: 0.8102 MB / 468.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3721, allocations: 1.312 kB / 468.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.3729, allocations: 471.9 kB / 469.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.3738, allocations: 168.2 kB / 469.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.3778, allocations: 2.233 MB / 471.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.3791, allocations: 1.333 MB / 473 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.3795, allocations: 186.8 kB / 473.1 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3797, allocations: 47.44 kB / 473.2 MB, free: 184 kB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3797, allocations: 0 / 473.2 MB, free: 184 kB / 366.1 MB Notification: Performance of Templates: time 0.02167/0.4014, allocations: 10.77 MB / 484 MB, free: 5.559 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/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: 4.910504553467035]