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.001403/0.001403, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001503/0.001503, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.002031/0.002031, allocations: 71.77 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2539, allocations: 53.32 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006032/0.26, allocations: 3.821 MB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2624, allocations: 1.024 MB / 436.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.263, allocations: 23.88 kB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.2635, allocations: 158.8 kB / 437.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.2646, allocations: 278.5 kB / 437.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.2649, allocations: 135.8 kB / 437.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.2664, allocations: 1.405 MB / 438.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008614/0.2672, allocations: 0.6348 MB / 439.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.268, allocations: 0.6347 MB / 440.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.269, allocations: 0.7783 MB / 440.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.2692, allocations: 156 kB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.2695, allocations: 156 kB / 441.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.2699, allocations: 462.7 kB / 441.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007546/0.2707, allocations: 0.7311 MB / 442.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.2727, allocations: 2.053 MB / 444.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2727, allocations: 0 / 444.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2727, allocations: 0 / 444.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.2727, allocations: 7.938 kB / 444.5 MB, free: 10.9 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.00325/0.276, allocations: 1.698 MB / 446.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.276, allocations: 16.03 kB / 446.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.2765, allocations: 172 kB / 446.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2782, allocations: 0.9052 MB / 447.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.2783, allocations: 82.34 kB / 447.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.2785, allocations: 108 kB / 447.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.281, allocations: 1.556 MB / 449 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.281, allocations: 0 / 449 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.2812, allocations: 48 kB / 449 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.2812, allocations: 24 kB / 449.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.2835, allocations: 1.316 MB / 450.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007119/0.2906, allocations: 4.187 MB / 454.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.292, allocations: 1.291 MB / 455.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.2927, allocations: 428.5 kB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.2928, allocations: 8.438 kB / 456.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2928, allocations: 39 kB / 456.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.574e-06/0.2928, allocations: 0 / 456.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00345/0.2963, allocations: 1.956 MB / 458.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2963, allocations: 59.84 kB / 458.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.2974, allocations: 0.8282 MB / 459.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.2975, allocations: 37.7 kB / 459.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.2979, allocations: 0.5545 MB / 459.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.2981, allocations: 186.4 kB / 459.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2983, allocations: 102.2 kB / 460 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2985, allocations: 382.8 kB / 460.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.299, allocations: 300.9 kB / 460.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.2995, allocations: 407.4 kB / 461.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3005, allocations: 0.7028 MB / 461.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3005, allocations: 3.938 kB / 461.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001503/0.302, allocations: 0.9169 MB / 462.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3021, allocations: 8 kB / 462.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3021, allocations: 4 kB / 462.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.3024, allocations: 104.8 kB / 462.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.3029, allocations: 127.8 kB / 463 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.3055, allocations: 2.377 MB / 465.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.306, allocations: 27.92 kB / 465.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.306, allocations: 16 kB / 465.4 MB, free: 5.18 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.0007031/0.3067, allocations: 457.5 kB / 465.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3069, allocations: 75.53 kB / 465.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.307, allocations: 95.14 kB / 466 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.307, allocations: 4 kB / 466 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.307, allocations: 7.984 kB / 466 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3071, allocations: 3.938 kB / 466 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.3104, allocations: 2.005 MB / 468 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3104, allocations: 4.031 kB / 468 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.3107, allocations: 91.83 kB / 468.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.311, allocations: 100.8 kB / 468.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.311, allocations: 15.98 kB / 468.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.3134, allocations: 2.322 MB / 470.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3134, allocations: 4.062 kB / 470.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.3152, allocations: 1.204 MB / 471.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.3155, allocations: 164.9 kB / 471.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.3156, allocations: 16.06 kB / 471.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.316, allocations: 52.02 kB / 472 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3161, allocations: 48.25 kB / 472 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.3162, allocations: 12 kB / 472.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008294/0.317, allocations: 0.5927 MB / 472.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 0 / 472.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008449/0.3179, allocations: 212 kB / 472.9 MB, free: 13.43 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.0001774/0.318, allocations: 115.2 kB / 473 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.3195, allocations: 0.8089 MB / 473.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3195, allocations: 0 / 473.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.3203, allocations: 480.9 kB / 474.2 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.3212, allocations: 183 kB / 474.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.325, allocations: 2.247 MB / 476.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.3261, allocations: 1.336 MB / 478 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004689/0.3266, allocations: 189.8 kB / 478.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3267, allocations: 51.44 kB / 478.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3267, allocations: 0 / 478.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of Templates: time 0.02093/0.3476, allocations: 10.89 MB / 489.1 MB, free: 13.15 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 -s cvode -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: 4.729002933949232]