Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008136, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003765/0.003765, allocations: 150.2 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8471/0.8471, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.571e-05, allocations: 6.219 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00589/0.005916, allocations: 8 MB / 327.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.009727, allocations: 2.48 MB / 330.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.01038, allocations: 79.62 kB / 330.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.01362, allocations: 3.676 MB / 333.9 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.01514, allocations: 0.9197 MB / 334.8 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.01608, allocations: 0.7738 MB / 335.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.01828, allocations: 3.777 MB / 339.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/0.02301, allocations: 6.133 MB / 345.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.02522, allocations: 3.179 MB / 348.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.02683, allocations: 2.051 MB / 350.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.02722, allocations: 0.582 MB / 351.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.02798, allocations: 0.7926 MB / 352.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005077/0.02849, allocations: 1.13 MB / 353.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009265/0.02942, allocations: 1.521 MB / 354.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.03369, allocations: 7.979 MB / 362.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.03369, allocations: 0 / 362.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03369, allocations: 0 / 362.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.003e-05/0.03375, allocations: 0 / 362.8 MB, free: 10.57 MB / 330.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.006382/0.04014, allocations: 4.818 MB / 367.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.04018, allocations: 15.97 kB / 367.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.04372, allocations: 1.286 MB / 368.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.04622, allocations: 2.305 MB / 371.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.04636, allocations: 312.8 kB / 371.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/0.04685, allocations: 415.9 kB / 371.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.0524, allocations: 5.498 MB / 377.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/0.05246, allocations: 7.953 kB / 377.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.05271, allocations: 168 kB / 377.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.05282, allocations: 180.6 kB / 377.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.05753, allocations: 4.784 MB / 382.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.07125, allocations: 16.31 MB / 398.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.07331, allocations: 1.737 MB / 400.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.07402, allocations: 0.711 MB / 401.3 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-05/0.0741, allocations: 36.91 kB / 401.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.07413, allocations: 47.56 kB / 401.4 MB, free: 3.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 3.186e-06/0.07413, allocations: 0 / 401.4 MB, free: 3.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.001467/0.0756, allocations: 1.558 MB / 402.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.07563, allocations: 64.34 kB / 403 MB, free: 1.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.07669, allocations: 1.4 MB / 404.4 MB, free: 184 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.07674, allocations: 45.7 kB / 404.4 MB, free: 132 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.0774, allocations: 1.815 MB / 406.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.07757, allocations: 376.9 kB / 406.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.07793, allocations: 447.7 kB / 407.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.07803, allocations: 349.9 kB / 407.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/0.07875, allocations: 0.8279 MB / 408.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.07989, allocations: 1.823 MB / 410.1 MB, free: 9.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.08179, allocations: 2.79 MB / 412.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.0818, allocations: 8 kB / 412.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002319/0.08412, allocations: 2.751 MB / 415.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.08415, allocations: 20 kB / 415.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.08417, allocations: 36 kB / 415.7 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.0842, allocations: 44 kB / 415.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.08503, allocations: 0.5303 MB / 416.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/0.08507, allocations: 67.72 kB / 416.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.08572, allocations: 290.2 kB / 416.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.544e-05/0.08581, allocations: 116 kB / 416.7 MB, free: 2.867 MB / 378.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.001489/0.0873, allocations: 1.48 MB / 418.2 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.0875, allocations: 135 kB / 418.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.08892, allocations: 1.454 MB / 419.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008933/0.08981, allocations: 1.037 MB / 420.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.08982, allocations: 0 / 420.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.08983, allocations: 7.969 kB / 420.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/0.09817, allocations: 10.05 MB / 430.9 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.09819, allocations: 20.19 kB / 430.9 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.09857, allocations: 231.6 kB / 431.1 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.09858, allocations: 28 kB / 431.1 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.09863, allocations: 44 kB / 431.2 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.897e-05/0.09865, allocations: 43.8 kB / 431.2 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/0.09866, allocations: 35.81 kB / 431.3 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.1007, allocations: 2.629 MB / 433.9 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.101, allocations: 262.9 kB / 434.1 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.101, allocations: 47.98 kB / 434.2 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.1014, allocations: 79.86 kB / 434.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.1015, allocations: 139.4 kB / 434.4 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.1016, allocations: 63.92 kB / 434.5 MB, free: 420 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006855/0.1022, allocations: 0.9022 MB / 435.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1022, allocations: 0 / 435.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001466/0.1037, allocations: 0.8793 MB / 436.2 MB, free: 14.61 MB / 410.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.0002502/0.104, allocations: 218.5 kB / 436.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.1055, allocations: 1.832 MB / 438.3 MB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.1055, allocations: 4 kB / 438.3 MB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.106, allocations: 0.6145 MB / 438.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1071, allocations: 347.5 kB / 439.2 MB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.1127, allocations: 6.317 MB / 445.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.1142, allocations: 2.185 MB / 447.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.1144, allocations: 132.5 kB / 447.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1144, allocations: 0 / 447.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of Templates: time 0.1396/0.254, allocations: 36.86 MB / 484.7 MB, free: 91.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.074458417482674]