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.00182/0.00182, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002276/0.002276, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001556/0.001556, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2205, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005123/0.2256, allocations: 3.487 MB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2274, allocations: 1.036 MB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.2276, allocations: 27.81 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.228, allocations: 158.8 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008037/0.2288, allocations: 310.4 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.229, allocations: 139.8 kB / 437.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.2304, allocations: 1.424 MB / 438.9 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.2313, allocations: 0.6549 MB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.232, allocations: 0.6581 MB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009915/0.233, allocations: 0.7978 MB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.2332, allocations: 164 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.2335, allocations: 160 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.2339, allocations: 474.7 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.2346, allocations: 0.6146 MB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.2366, allocations: 2.089 MB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2366, allocations: 0 / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2366, allocations: 3.938 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.2366, allocations: 0 / 444.5 MB, free: 10.5 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.00302/0.2396, allocations: 1.658 MB / 446.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2397, allocations: 12.03 kB / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005166/0.2402, allocations: 180 kB / 446.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2419, allocations: 0.863 MB / 447.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/0.2419, allocations: 86.38 kB / 447.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.2421, allocations: 108 kB / 447.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.2448, allocations: 1.719 MB / 449.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.2448, allocations: 4 kB / 449.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.2449, allocations: 47.94 kB / 449.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.245, allocations: 32 kB / 449.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.2472, allocations: 1.328 MB / 450.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006505/0.2537, allocations: 3.72 MB / 454.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.2547, allocations: 0.6246 MB / 454.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009111/0.2556, allocations: 0.5022 MB / 455.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2556, allocations: 4.438 kB / 455.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2556, allocations: 39 kB / 455.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.774e-06/0.2556, allocations: 0 / 455.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001534/0.2572, allocations: 0.8733 MB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.2572, allocations: 59.84 kB / 456.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2583, allocations: 0.8047 MB / 457.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.2583, allocations: 33.7 kB / 457.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.2587, allocations: 0.5584 MB / 457.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.2589, allocations: 190.4 kB / 457.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.2591, allocations: 106.3 kB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.2593, allocations: 394.7 kB / 458.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.2598, allocations: 301.1 kB / 458.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.2603, allocations: 395.4 kB / 459.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2614, allocations: 0.6854 MB / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.2614, allocations: 0 / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001314/0.2627, allocations: 0.8249 MB / 460.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2627, allocations: 8 kB / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2627, allocations: 0 / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2628, allocations: 8 kB / 460.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.2634, allocations: 151.8 kB / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2634, allocations: 4 kB / 460.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.2638, allocations: 63.59 kB / 460.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.2638, allocations: 19.94 kB / 460.8 MB, free: 9.711 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.0005587/0.2644, allocations: 465.9 kB / 461.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.2645, allocations: 75.53 kB / 461.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.2647, allocations: 91.08 kB / 461.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2647, allocations: 7.938 kB / 461.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2647, allocations: 0 / 461.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2647, allocations: 3.984 kB / 461.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.2676, allocations: 1.684 MB / 463.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2676, allocations: 0 / 463.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.2682, allocations: 115.9 kB / 463.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2682, allocations: 4.141 kB / 463.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.2682, allocations: 24 kB / 463.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2682, allocations: 0 / 463.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2682, allocations: 7.938 kB / 463.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.2698, allocations: 1.122 MB / 464.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.27, allocations: 103.4 kB / 464.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.2701, allocations: 12 kB / 464.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.2706, allocations: 47.95 kB / 464.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.2707, allocations: 36.36 kB / 464.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.2707, allocations: 19.94 kB / 464.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007425/0.2714, allocations: 0.5809 MB / 465.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2714, allocations: 0 / 465.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000667/0.2721, allocations: 291.1 kB / 465.5 MB, free: 4.957 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.0001583/0.2723, allocations: 119.1 kB / 465.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2733, allocations: 0.6298 MB / 466.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2733, allocations: 4 kB / 466.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.2738, allocations: 310.9 kB / 466.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.2747, allocations: 171 kB / 466.7 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.2783, allocations: 2.296 MB / 469 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.2791, allocations: 0.7524 MB / 469.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004641/0.2795, allocations: 205.5 kB / 470 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2797, allocations: 51.44 kB / 470 MB, free: 344 kB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2797, allocations: 0 / 470 MB, free: 344 kB / 366.1 MB Notification: Performance of Templates: time 0.01977/0.2995, allocations: 11.36 MB / 481.4 MB, free: 5.16 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 -s gbode -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: 4.616099945007591]