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.001711/0.001711, allocations: 123.5 kB / 18.46 MB, free: 4.613 MB / 14.72 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.002109/0.002109, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 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.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 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 0.001502/0.001502, allocations: 51.92 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09876, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00519/0.104, allocations: 3.786 MB / 422.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1057, allocations: 0.9425 MB / 423.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.1059, allocations: 23.88 kB / 423.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1062, allocations: 162.8 kB / 423.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.107, allocations: 278.5 kB / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1073, allocations: 127.8 kB / 424.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1087, allocations: 1.393 MB / 425.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.1098, allocations: 0.877 MB / 426.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.1105, allocations: 0.6348 MB / 427.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.1116, allocations: 0.7744 MB / 427.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.1118, allocations: 160 kB / 428.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.112, allocations: 156 kB / 428.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.1125, allocations: 462.7 kB / 428.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008081/0.1133, allocations: 0.7272 MB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.1153, allocations: 2.044 MB / 431.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1153, allocations: 0 / 431.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1153, allocations: 4 kB / 431.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.672e-05/0.1154, allocations: 0 / 431.5 MB, free: 15.53 MB / 366.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.003008/0.1184, allocations: 1.698 MB / 433.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1184, allocations: 12.03 kB / 433.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.1187, allocations: 144 kB / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.12, allocations: 0.8779 MB / 434.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.1201, allocations: 90.33 kB / 434.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.1203, allocations: 112 kB / 434.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.1228, allocations: 1.544 MB / 435.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1228, allocations: 0 / 435.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.1229, allocations: 51.98 kB / 436 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.123, allocations: 24 kB / 436 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.1252, allocations: 1.316 MB / 437.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/0.1317, allocations: 4.179 MB / 441.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.133, allocations: 1.277 MB / 442.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.1337, allocations: 434.7 kB / 443.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1337, allocations: 8.438 kB / 443.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1338, allocations: 35 kB / 443.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.1338, allocations: 0 / 443.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003427/0.1372, allocations: 1.968 MB / 445.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1372, allocations: 55.84 kB / 445.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1383, allocations: 0.8204 MB / 446.1 MB, free: 356 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.1384, allocations: 37.7 kB / 446.1 MB, free: 312 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.189/0.3274, allocations: 0.5471 MB / 446.7 MB, free: 30.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.3276, allocations: 187.5 kB / 446.9 MB, free: 30 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.3278, allocations: 111.4 kB / 447 MB, free: 29.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3279, allocations: 379.2 kB / 447.3 MB, free: 29.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.3284, allocations: 304.2 kB / 447.6 MB, free: 29.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.3288, allocations: 403.8 kB / 448 MB, free: 29.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.3297, allocations: 0.6989 MB / 448.7 MB, free: 29.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3297, allocations: 3.375 kB / 448.7 MB, free: 29.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001342/0.331, allocations: 0.9175 MB / 449.7 MB, free: 29.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.331, allocations: 7.094 kB / 449.7 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.331, allocations: 4.5 kB / 449.7 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.3313, allocations: 108.9 kB / 449.8 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.3318, allocations: 124.6 kB / 449.9 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.3336, allocations: 2.368 MB / 452.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.3341, allocations: 29.08 kB / 452.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3341, allocations: 18.58 kB / 452.3 MB, free: 27.89 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.0006232/0.3347, allocations: 459.3 kB / 452.8 MB, free: 27.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3348, allocations: 77.56 kB / 452.8 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.335, allocations: 91.05 kB / 452.9 MB, free: 27.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.335, allocations: 9.531 kB / 452.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.335, allocations: 4.031 kB / 452.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.335, allocations: 2.766 kB / 452.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.338, allocations: 2.008 MB / 454.9 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.338, allocations: 5.156 kB / 455 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.3383, allocations: 91.89 kB / 455 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.3386, allocations: 106.3 kB / 455.1 MB, free: 26.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.3386, allocations: 17.33 kB / 455.2 MB, free: 26.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.3405, allocations: 2.321 MB / 457.5 MB, free: 25.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3405, allocations: 1.875 kB / 457.5 MB, free: 25.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3421, allocations: 1.202 MB / 458.7 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.3423, allocations: 163.9 kB / 458.8 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.3424, allocations: 17.12 kB / 458.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.3428, allocations: 51.91 kB / 458.9 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3429, allocations: 40.67 kB / 459 MB, free: 24.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3429, allocations: 16.72 kB / 459 MB, free: 24.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000689/0.3436, allocations: 0.585 MB / 459.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3436, allocations: 4 kB / 459.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007861/0.3444, allocations: 209.8 kB / 459.8 MB, free: 24.07 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.0001262/0.3445, allocations: 118.4 kB / 459.9 MB, free: 23.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3458, allocations: 0.7979 MB / 460.7 MB, free: 23.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3458, allocations: 1.344 kB / 460.7 MB, free: 23.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.3465, allocations: 474.6 kB / 461.1 MB, free: 23.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.3473, allocations: 188.1 kB / 461.3 MB, free: 23.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.3505, allocations: 2.226 MB / 463.6 MB, free: 22.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.3513, allocations: 1.31 MB / 464.9 MB, free: 21.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3515, allocations: 55.42 kB / 464.9 MB, free: 21.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3515, allocations: 0 / 464.9 MB, free: 21.42 MB / 366.1 MB Notification: Performance of Templates: time 0.02232/0.3738, allocations: 18.91 MB / 483.8 MB, free: 11.29 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.707951257005334]