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.002125/0.002125, allocations: 112 kB / 20.43 MB, free: 1.473 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.00243/0.00243, allocations: 210 kB / 23.74 MB, free: 4.691 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.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.00165/0.00165, allocations: 51.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.263, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005522/0.2686, allocations: 3.829 MB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2705, allocations: 1.028 MB / 436.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2708, allocations: 31.75 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.2711, allocations: 158.8 kB / 436.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.2719, allocations: 290.4 kB / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.2722, allocations: 143.7 kB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.2736, allocations: 1.401 MB / 438.5 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.2745, allocations: 0.6392 MB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007217/0.2752, allocations: 0.6425 MB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.2762, allocations: 0.7822 MB / 440.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.2764, allocations: 156 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.2767, allocations: 160 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.2771, allocations: 458.7 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.2778, allocations: 0.7311 MB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.2797, allocations: 2.053 MB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2798, allocations: 4 kB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2798, allocations: 4 kB / 444.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.2798, allocations: 0 / 444.1 MB, free: 10.37 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.002932/0.2827, allocations: 1.63 MB / 445.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2827, allocations: 8.031 kB / 445.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.2832, allocations: 176 kB / 445.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.2848, allocations: 0.8512 MB / 446.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.2849, allocations: 86.34 kB / 446.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.285, allocations: 112 kB / 446.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.2876, allocations: 1.541 MB / 448.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.2876, allocations: 0 / 448.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.2878, allocations: 44 kB / 448.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.2878, allocations: 24 kB / 448.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.2903, allocations: 1.324 MB / 449.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007283/0.2975, allocations: 4.117 MB / 454 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.2986, allocations: 0.6085 MB / 454.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.2993, allocations: 434.5 kB / 455 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.2993, allocations: 4.438 kB / 455 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.2994, allocations: 42.94 kB / 455.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.094e-06/0.2994, allocations: 0 / 455.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003542/0.3029, allocations: 1.877 MB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.303, allocations: 63.84 kB / 457 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3041, allocations: 0.8321 MB / 457.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.3042, allocations: 29.7 kB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.3047, allocations: 0.5623 MB / 458.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.3048, allocations: 178.5 kB / 458.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.305, allocations: 102.3 kB / 458.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3052, allocations: 390.8 kB / 459.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.3057, allocations: 309.1 kB / 459.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.3063, allocations: 400.2 kB / 459.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3075, allocations: 0.7096 MB / 460.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3075, allocations: 3.938 kB / 460.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001592/0.3091, allocations: 0.9154 MB / 461.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3091, allocations: 6.969 kB / 461.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3091, allocations: 4 kB / 461.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.3095, allocations: 108.8 kB / 461.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.31, allocations: 123.9 kB / 461.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.3128, allocations: 2.261 MB / 463.9 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.3131, allocations: 31.92 kB / 463.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3132, allocations: 20 kB / 464 MB, free: 5.953 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.0006943/0.3139, allocations: 457.5 kB / 464.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.314, allocations: 79.53 kB / 464.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.3142, allocations: 95.02 kB / 464.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3142, allocations: 8 kB / 464.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.3142, allocations: 0 / 464.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3142, allocations: 7.922 kB / 464.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.3178, allocations: 1.985 MB / 466.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3178, allocations: 4.062 kB / 466.6 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3182, allocations: 87.83 kB / 466.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.3184, allocations: 104.9 kB / 466.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.3185, allocations: 15.98 kB / 466.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.321, allocations: 2.218 MB / 469 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.321, allocations: 4.031 kB / 469 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.3229, allocations: 1.201 MB / 470.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.3231, allocations: 91.53 kB / 470.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.3232, allocations: 19.98 kB / 470.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.3236, allocations: 44.02 kB / 470.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3237, allocations: 48.3 kB / 470.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.3238, allocations: 19.98 kB / 470.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008443/0.3246, allocations: 0.5888 MB / 471 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3246, allocations: 0 / 471 MB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007532/0.3254, allocations: 212 kB / 471.2 MB, free: 14.45 MB / 382.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.0001537/0.3255, allocations: 111.2 kB / 471.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.327, allocations: 0.8123 MB / 472.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.327, allocations: 0 / 472.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.3278, allocations: 476.8 kB / 472.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.3287, allocations: 175.5 kB / 472.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.3324, allocations: 2.248 MB / 475 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.3335, allocations: 1.34 MB / 476.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.334, allocations: 185.8 kB / 476.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3341, allocations: 47.44 kB / 476.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3341, allocations: 0 / 476.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of Templates: time 0.02071/0.3548, allocations: 11.09 MB / 487.7 MB, free: 14 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/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.961062808986753]