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.002157/0.002157, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.002338/0.002338, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 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 1.434/1.434, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.934e-05, allocations: 6.25 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01181/0.01184, allocations: 7.999 MB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006829/0.01867, allocations: 2.503 MB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.01997, allocations: 79.62 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00909/0.02906, allocations: 3.679 MB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.0329, allocations: 0.9083 MB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.03518, allocations: 0.7693 MB / 283.3 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005415/0.04059, allocations: 3.773 MB / 287 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1251/0.1657, allocations: 6.133 MB / 293.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.1706, allocations: 3.174 MB / 296.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.1736, allocations: 2.051 MB / 298.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008865/0.1745, allocations: 0.5845 MB / 299 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.176, allocations: 0.7899 MB / 299.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000809/0.1768, allocations: 1.128 MB / 300.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.1787, allocations: 1.526 MB / 302.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.1842, allocations: 7.99 MB / 310.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1842, allocations: 0.5312 kB / 310.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1842, allocations: 1.031 kB / 310.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.1844, allocations: 0 / 310.4 MB, free: 10.17 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.01051/0.1949, allocations: 4.818 MB / 315.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1949, allocations: 10.72 kB / 315.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007184/0.2021, allocations: 1.779 MB / 317 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.2056, allocations: 2.401 MB / 319.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.2057, allocations: 311.3 kB / 319.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/0.2063, allocations: 419.8 kB / 320.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00979/0.2161, allocations: 5.504 MB / 325.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.438e-05/0.2162, allocations: 0 / 325.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004564/0.2166, allocations: 171.4 kB / 325.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.2168, allocations: 176.6 kB / 326 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.227, allocations: 4.788 MB / 330.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/0.257, allocations: 16.85 MB / 347.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.2612, allocations: 1.75 MB / 349.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.2627, allocations: 0.7204 MB / 350.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.2628, allocations: 32.98 kB / 350.1 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.2629, allocations: 51.5 kB / 350.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.146e-06/0.2629, allocations: 4 kB / 350.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.003108/0.266, allocations: 1.592 MB / 351.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.266, allocations: 60.41 kB / 351.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.2682, allocations: 1.396 MB / 353.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.2683, allocations: 41.7 kB / 353.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.2698, allocations: 1.825 MB / 355.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.2702, allocations: 374 kB / 355.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007963/0.271, allocations: 447.7 kB / 355.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.2713, allocations: 345.9 kB / 356.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.2727, allocations: 0.8279 MB / 357.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.2754, allocations: 1.83 MB / 358.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.2794, allocations: 2.793 MB / 361.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.311e-05/0.2794, allocations: 16 kB / 361.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005052/0.2845, allocations: 2.846 MB / 364.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.2845, allocations: 23.75 kB / 364.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/0.2846, allocations: 32 kB / 364.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.01e-05/0.2846, allocations: 48 kB / 364.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.2864, allocations: 0.5224 MB / 365.2 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.207e-05/0.2865, allocations: 72.47 kB / 365.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.2881, allocations: 290.4 kB / 365.5 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.2883, allocations: 116 kB / 365.6 MB, free: 4.441 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.002359/0.2907, allocations: 1.481 MB / 367.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.291, allocations: 166 kB / 367.3 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.2936, allocations: 1.463 MB / 368.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001676/0.2953, allocations: 1.036 MB / 369.8 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2953, allocations: 4 kB / 369.8 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2953, allocations: 3.984 kB / 369.8 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.3119, allocations: 10.06 MB / 379.8 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.3119, allocations: 23.98 kB / 379.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.313, allocations: 230.4 kB / 380.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.072e-05/0.313, allocations: 24 kB / 380.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/0.3131, allocations: 51.98 kB / 380.2 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.073e-05/0.3132, allocations: 43.33 kB / 380.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/0.3132, allocations: 30.88 kB / 380.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.3169, allocations: 2.667 MB / 382.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.3175, allocations: 270.8 kB / 383.2 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3177, allocations: 47.98 kB / 383.2 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.3184, allocations: 67.94 kB / 383.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.3187, allocations: 150.1 kB / 383.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.3187, allocations: 56 kB / 383.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00138/0.3201, allocations: 0.906 MB / 384.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3201, allocations: 0 / 384.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002564/0.3227, allocations: 0.8754 MB / 385.3 MB, free: 408 kB / 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.0004073/0.3231, allocations: 219.4 kB / 385.5 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.3264, allocations: 1.831 MB / 387.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.3264, allocations: 4 kB / 387.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.3273, allocations: 0.6169 MB / 387.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.3294, allocations: 354.3 kB / 388.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.3408, allocations: 6.522 MB / 394.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/0.3437, allocations: 2.247 MB / 397 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001885/0.3456, allocations: 0.7615 MB / 397.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.3459, allocations: 120.4 kB / 397.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3459, allocations: 0 / 397.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of Templates: time 0.03326/0.3791, allocations: 15.79 MB / 413.7 MB, free: 4.129 MB / 362.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: 4.9573895880021155]