Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0009745/0.0009745, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001036/0.001036, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9962/0.9962, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.519e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007527/0.007552, allocations: 8.883 MB / 281.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.01196, allocations: 2.6 MB / 284.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006868/0.01265, allocations: 79.62 kB / 284.5 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004071/0.01672, allocations: 4.002 MB / 288.5 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01852, allocations: 0.7724 MB / 289.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.01979, allocations: 0.9151 MB / 290.2 MB, free: 224 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1334/0.1532, allocations: 3.764 MB / 294 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008598/0.1618, allocations: 6.142 MB / 300.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.1664, allocations: 3.212 MB / 303.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.1697, allocations: 2.298 MB / 305.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.171, allocations: 0.5837 MB / 306.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.1725, allocations: 0.8104 MB / 307 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006324/0.1732, allocations: 1.15 MB / 308.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.1752, allocations: 1.541 MB / 309.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.1785, allocations: 3.976 MB / 313.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.1785, allocations: 0 / 313.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1785, allocations: 1.281 kB / 313.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.1785, allocations: 0 / 313.7 MB, free: 5.547 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.006209/0.1847, allocations: 5.288 MB / 319 MB, free: 0.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1848, allocations: 8.031 kB / 319 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.1892, allocations: 1.785 MB / 320.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.1919, allocations: 2.17 MB / 323 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.192, allocations: 314.7 kB / 323.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.1924, allocations: 418.3 kB / 323.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/0.1967, allocations: 2.5 MB / 326.2 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.656e-05/0.1968, allocations: 8.812 kB / 326.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.1971, allocations: 166.9 kB / 326.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.1972, allocations: 176.6 kB / 326.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.2002, allocations: 1.541 MB / 328.1 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.2153, allocations: 15.71 MB / 343.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.2174, allocations: 1.545 MB / 345.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.218, allocations: 414.2 kB / 345.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.2182, allocations: 48.95 kB / 345.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2182, allocations: 46.39 kB / 345.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.266e-06/0.2182, allocations: 4 kB / 345.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001168/0.2194, allocations: 0.7962 MB / 346.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2194, allocations: 64.34 kB / 346.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.2207, allocations: 1.391 MB / 348.1 MB, free: 3.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2207, allocations: 41.7 kB / 348.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/0.2215, allocations: 1.961 MB / 350.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.2218, allocations: 384.9 kB / 350.4 MB, free: 1.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.2222, allocations: 0.5054 MB / 350.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2224, allocations: 0.5316 MB / 351.5 MB, free: 16 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.2228, allocations: 284.1 kB / 351.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2239, allocations: 1.783 MB / 353.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.2256, allocations: 2.255 MB / 355.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.2256, allocations: 12 kB / 355.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001976/0.2276, allocations: 1.771 MB / 357.6 MB, free: 8.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.2276, allocations: 20 kB / 357.6 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.2276, allocations: 32 kB / 357.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.676e-05/0.2277, allocations: 48 kB / 357.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/0.2287, allocations: 0.5195 MB / 358.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/0.2287, allocations: 73.59 kB / 358.3 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.2295, allocations: 294.4 kB / 358.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2296, allocations: 116 kB / 358.7 MB, free: 7.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008053/0.2304, allocations: 312.2 kB / 359 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2306, allocations: 159.2 kB / 359.1 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.2318, allocations: 0.9393 MB / 360.1 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005916/0.2324, allocations: 0.5025 MB / 360.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2324, allocations: 3.938 kB / 360.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.2324, allocations: 7.969 kB / 360.6 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.239, allocations: 4.953 MB / 365.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.239, allocations: 24 kB / 365.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.2394, allocations: 226.1 kB / 365.8 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-05/0.2395, allocations: 28.81 kB / 365.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.2395, allocations: 51.98 kB / 365.9 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.2395, allocations: 46.77 kB / 365.9 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.919e-05/0.2395, allocations: 31.22 kB / 365.9 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.2415, allocations: 1.917 MB / 367.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.2418, allocations: 242.9 kB / 368.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.2419, allocations: 55.91 kB / 368.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.2423, allocations: 71.98 kB / 368.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2425, allocations: 151.7 kB / 368.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.2425, allocations: 56 kB / 368.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000619/0.2431, allocations: 0.6362 MB / 369.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2431, allocations: 0 / 369.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002059/0.2452, allocations: 0.8754 MB / 369.9 MB, free: 12.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003334/0.2455, allocations: 213.5 kB / 370.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.247, allocations: 1.132 MB / 371.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.247, allocations: 4 kB / 371.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.2474, allocations: 337 kB / 371.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.2485, allocations: 352.4 kB / 371.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007238/0.2558, allocations: 5.836 MB / 377.8 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.2565, allocations: 1.004 MB / 378.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.2575, allocations: 0.6678 MB / 379.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.2578, allocations: 116.5 kB / 379.6 MB, free: 2.18 MB / 330.7 MB Notification: Performance of SimCode: time 2.154e-06/0.2578, allocations: 0 / 379.6 MB, free: 2.18 MB / 330.7 MB Notification: Performance of Templates: time 0.02243/0.2802, allocations: 15.79 MB / 395.4 MB, free: 2.715 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4000781970098615]