Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.00188/0.00188, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002486/0.002486, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.674e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01141/0.01144, allocations: 8.014 MB / 280.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005482/0.01692, allocations: 2.565 MB / 282.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.01796, allocations: 75.62 kB / 282.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008689/0.02665, allocations: 3.671 MB / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.0292, allocations: 0.7723 MB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.03137, allocations: 0.8994 MB / 288.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1098/0.1412, allocations: 3.769 MB / 292 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006932/0.1481, allocations: 6.134 MB / 298.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.1521, allocations: 3.185 MB / 301.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.1548, allocations: 2.051 MB / 303.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000935/0.1557, allocations: 0.5842 MB / 303.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1571, allocations: 0.8099 MB / 304.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000635/0.1577, allocations: 1.125 MB / 305.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.1591, allocations: 1.52 MB / 307.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005023/0.1641, allocations: 8.01 MB / 315.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1641, allocations: 3.375 kB / 315.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1641, allocations: 0 / 315.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.1642, allocations: 0.7812 kB / 315.4 MB, free: 3.848 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.009558/0.1738, allocations: 4.833 MB / 320.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1738, allocations: 11.98 kB / 320.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008273/0.1821, allocations: 1.779 MB / 322 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.1865, allocations: 2.405 MB / 324.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.1868, allocations: 316.1 kB / 324.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007803/0.1876, allocations: 415.4 kB / 325.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.198, allocations: 5.498 MB / 330.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-05/0.1981, allocations: 5.359 kB / 330.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/0.1985, allocations: 175.7 kB / 330.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/0.1987, allocations: 176.6 kB / 331 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008802/0.2075, allocations: 4.796 MB / 335.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.2358, allocations: 16.88 MB / 352.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.24, allocations: 1.758 MB / 354.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.2414, allocations: 0.7237 MB / 355.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.2415, allocations: 52.23 kB / 355.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.2416, allocations: 43.56 kB / 355.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=100): time 3.176e-06/0.2416, allocations: 0 / 355.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.002757/0.2443, allocations: 1.597 MB / 356.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2444, allocations: 64.41 kB / 356.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.2464, allocations: 1.396 MB / 358.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.2465, allocations: 41.7 kB / 358.3 MB, free: 8.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.248, allocations: 1.824 MB / 360.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.2483, allocations: 380.6 kB / 360.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000672/0.249, allocations: 447.7 kB / 361 MB, free: 6.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.2492, allocations: 349.9 kB / 361.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.2507, allocations: 0.8317 MB / 362.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.253, allocations: 1.823 MB / 364 MB, free: 2.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.257, allocations: 2.801 MB / 366.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.257, allocations: 12 kB / 366.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005137/0.2621, allocations: 2.854 MB / 369.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.2622, allocations: 20 kB / 369.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.845e-05/0.2622, allocations: 36 kB / 369.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-05/0.2623, allocations: 44.75 kB / 369.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.2641, allocations: 0.5315 MB / 370.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.362e-05/0.2641, allocations: 65.75 kB / 370.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.2656, allocations: 289.3 kB / 370.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.2658, allocations: 123.9 kB / 370.7 MB, free: 11.84 MB / 330.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.003099/0.2689, allocations: 1.479 MB / 372.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.2692, allocations: 159.2 kB / 372.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.272, allocations: 1.471 MB / 373.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00171/0.2737, allocations: 1.037 MB / 374.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.2737, allocations: 0 / 374.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.2737, allocations: 11.98 kB / 374.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.2907, allocations: 10.17 MB / 385 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.2907, allocations: 24.03 kB / 385.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.2916, allocations: 237.1 kB / 385.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-05/0.2916, allocations: 28 kB / 385.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.2917, allocations: 56 kB / 385.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-05/0.2918, allocations: 38.39 kB / 385.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/0.2918, allocations: 35.02 kB / 385.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.2957, allocations: 2.678 MB / 388.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.2963, allocations: 266.8 kB / 388.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.2965, allocations: 43.98 kB / 388.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.2973, allocations: 67.94 kB / 388.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.2975, allocations: 149.8 kB / 388.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/0.2976, allocations: 63.98 kB / 388.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001502/0.2991, allocations: 0.8982 MB / 389.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2991, allocations: 0 / 389.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002799/0.3019, allocations: 0.8832 MB / 390.5 MB, free: 7.652 MB / 346.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.0003818/0.3023, allocations: 204.3 kB / 390.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.3053, allocations: 1.841 MB / 392.5 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.3054, allocations: 8 kB / 392.5 MB, free: 5.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.3063, allocations: 0.6111 MB / 393.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.3084, allocations: 353.5 kB / 393.5 MB, free: 4.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.3199, allocations: 6.471 MB / 400 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/0.3229, allocations: 2.255 MB / 402.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001964/0.3248, allocations: 0.7615 MB / 403 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.3251, allocations: 116.5 kB / 403.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3251, allocations: 0 / 403.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.03334/0.3585, allocations: 15.88 MB / 419 MB, free: 11.33 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 5.129868422984146]