Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2705, allocations: 53.32 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005379/0.2758, allocations: 3.821 MB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.2779, allocations: 1.04 MB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.2782, allocations: 23.88 kB / 436.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.2785, allocations: 154.8 kB / 437.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007871/0.2793, allocations: 274.5 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.2796, allocations: 143.8 kB / 437.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.2812, allocations: 1.401 MB / 438.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000888/0.2821, allocations: 0.6387 MB / 439.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008865/0.283, allocations: 0.627 MB / 440.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.284, allocations: 0.7783 MB / 440.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.2842, allocations: 156 kB / 441.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.2845, allocations: 164 kB / 441.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.2849, allocations: 454.7 kB / 441.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007414/0.2857, allocations: 0.7311 MB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.2877, allocations: 2.057 MB / 444.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.2877, allocations: 3.984 kB / 444.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2877, allocations: 0 / 444.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.2877, allocations: 0 / 444.5 MB, free: 10.84 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.003156/0.2909, allocations: 1.702 MB / 446.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2909, allocations: 8.031 kB / 446.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.2915, allocations: 172 kB / 446.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.2931, allocations: 0.9052 MB / 447.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.2932, allocations: 90.34 kB / 447.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.2933, allocations: 108 kB / 447.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.2958, allocations: 1.544 MB / 449 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.2958, allocations: 4 kB / 449 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2959, allocations: 44 kB / 449 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.2959, allocations: 28 kB / 449.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.2981, allocations: 1.316 MB / 450.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006931/0.305, allocations: 4.187 MB / 454.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.3064, allocations: 1.287 MB / 455.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.307, allocations: 432.5 kB / 456.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.3071, allocations: 4.438 kB / 456.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3071, allocations: 39 kB / 456.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 4.418e-06/0.3071, allocations: 3.984 kB / 456.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003473/0.3106, allocations: 1.96 MB / 458.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3106, allocations: 59.84 kB / 458.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3117, allocations: 0.8282 MB / 459.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.3118, allocations: 33.7 kB / 459.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.3122, allocations: 0.5545 MB / 459.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.3123, allocations: 182.4 kB / 459.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3125, allocations: 106.2 kB / 460 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.3127, allocations: 386.8 kB / 460.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.3132, allocations: 308.8 kB / 460.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.3137, allocations: 399.4 kB / 461.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3147, allocations: 0.7106 MB / 461.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3147, allocations: 0 / 461.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001504/0.3162, allocations: 0.9091 MB / 462.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3163, allocations: 4 kB / 462.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3163, allocations: 4 kB / 462.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.3166, allocations: 112.7 kB / 462.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.3171, allocations: 128 kB / 463 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.3196, allocations: 2.361 MB / 465.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.32, allocations: 31.95 kB / 465.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.32, allocations: 20 kB / 465.4 MB, free: 5.133 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.0007209/0.3208, allocations: 461.6 kB / 465.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3209, allocations: 75.53 kB / 465.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.3211, allocations: 95.08 kB / 466 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3211, allocations: 4 kB / 466 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3211, allocations: 0 / 466 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.3211, allocations: 7.922 kB / 466 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.3245, allocations: 2.013 MB / 468 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3245, allocations: 0 / 468 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.3249, allocations: 83.89 kB / 468.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.3251, allocations: 108.8 kB / 468.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.3252, allocations: 15.98 kB / 468.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.3275, allocations: 2.326 MB / 470.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3275, allocations: 7.969 kB / 470.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.3293, allocations: 1.197 MB / 471.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.3296, allocations: 168.5 kB / 471.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.3297, allocations: 12 kB / 471.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.3301, allocations: 60.02 kB / 472 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3302, allocations: 40.31 kB / 472 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3302, allocations: 16 kB / 472.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008043/0.331, allocations: 0.5927 MB / 472.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.331, allocations: 0 / 472.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.3318, allocations: 216 kB / 472.9 MB, free: 13.37 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.0001692/0.332, allocations: 115.2 kB / 473 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3333, allocations: 0.8047 MB / 473.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3333, allocations: 0 / 473.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.3341, allocations: 472.9 kB / 474.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.335, allocations: 179.6 kB / 474.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.3387, allocations: 2.257 MB / 476.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.3397, allocations: 1.317 MB / 478 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3398, allocations: 51.44 kB / 478 MB, free: 8.074 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3398, allocations: 0 / 478 MB, free: 8.074 MB / 382.1 MB Notification: Performance of Templates: time 0.02649/0.3663, allocations: 19.04 MB / 497.1 MB, free: 5.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.290484567638487]