Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.00151/0.00151, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001714/0.001714, allocations: 213.3 kB / 24.48 MB, free: 3.961 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2423, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005415/0.2477, allocations: 3.494 MB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.2501, allocations: 1.032 MB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.2505, allocations: 31.75 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.2508, allocations: 158.8 kB / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009727/0.2518, allocations: 310.3 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2521, allocations: 143.8 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.2536, allocations: 1.412 MB / 438.9 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009454/0.2546, allocations: 0.6542 MB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009277/0.2555, allocations: 0.6659 MB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.2567, allocations: 0.7978 MB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.2569, allocations: 160 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.2572, allocations: 164 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004452/0.2576, allocations: 474.7 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007304/0.2584, allocations: 0.6069 MB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.2604, allocations: 2.098 MB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2604, allocations: 0 / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2604, allocations: 0 / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.2605, allocations: 0 / 444.5 MB, free: 10.47 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003084/0.2635, allocations: 1.65 MB / 446.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2636, allocations: 12.03 kB / 446.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.2641, allocations: 176 kB / 446.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.2658, allocations: 0.8669 MB / 447.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.2659, allocations: 90.36 kB / 447.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.2661, allocations: 112 kB / 447.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.2688, allocations: 1.723 MB / 449.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.2688, allocations: 0 / 449.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.2689, allocations: 44 kB / 449.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.269, allocations: 31.94 kB / 449.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.2712, allocations: 1.336 MB / 450.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006915/0.2781, allocations: 3.716 MB / 454.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.2791, allocations: 0.6247 MB / 454.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/0.28, allocations: 0.4905 MB / 455.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.28, allocations: 4.438 kB / 455.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.28, allocations: 42.94 kB / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.28, allocations: 0 / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001527/0.2816, allocations: 0.8772 MB / 456.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.2816, allocations: 55.84 kB / 456.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.2827, allocations: 0.8047 MB / 457.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.2828, allocations: 37.69 kB / 457.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.2832, allocations: 0.5623 MB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2834, allocations: 190.4 kB / 457.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.2835, allocations: 102.3 kB / 458 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2837, allocations: 386.7 kB / 458.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.2842, allocations: 301.1 kB / 458.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.2848, allocations: 403.3 kB / 459.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009939/0.2857, allocations: 0.6893 MB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2858, allocations: 0 / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00134/0.2871, allocations: 0.8131 MB / 460.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2871, allocations: 8 kB / 460.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2871, allocations: 4.281 kB / 460.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2871, allocations: 8 kB / 460.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.2878, allocations: 151.8 kB / 460.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2878, allocations: 7.938 kB / 460.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.2882, allocations: 63.59 kB / 460.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.2882, allocations: 19.94 kB / 460.8 MB, free: 9.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006348/0.2888, allocations: 457.8 kB / 461.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.289, allocations: 79.47 kB / 461.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.2891, allocations: 95.08 kB / 461.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2891, allocations: 7.984 kB / 461.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2891, allocations: 0 / 461.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2891, allocations: 3.984 kB / 461.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.2922, allocations: 1.684 MB / 463.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2922, allocations: 0 / 463.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.2927, allocations: 123.8 kB / 463.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.2927, allocations: 4 kB / 463.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.2928, allocations: 12 kB / 463.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2928, allocations: 4 kB / 463.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.2928, allocations: 7.984 kB / 463.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.2944, allocations: 1.13 MB / 464.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.2946, allocations: 99.44 kB / 464.5 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.2947, allocations: 11.98 kB / 464.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.2951, allocations: 51.95 kB / 464.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.2952, allocations: 36.36 kB / 464.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.2952, allocations: 19.94 kB / 464.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000749/0.296, allocations: 0.5732 MB / 465.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.296, allocations: 3.938 kB / 465.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007604/0.2968, allocations: 291.1 kB / 465.5 MB, free: 4.934 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001614/0.2969, allocations: 127 kB / 465.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.298, allocations: 0.6259 MB / 466.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.298, allocations: 4 kB / 466.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.2985, allocations: 306.2 kB / 466.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.2993, allocations: 170.2 kB / 466.7 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.3031, allocations: 2.306 MB / 469 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.3039, allocations: 0.7251 MB / 469.8 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.3041, allocations: 55.42 kB / 469.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3041, allocations: 4 kB / 469.8 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of Templates: time 0.02194/0.326, allocations: 13.76 MB / 483.6 MB, free: 2.809 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.153190835000714]