Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001352/0.001352, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001176/0.001176, allocations: 173.9 kB / 24.91 MB, free: 8.723 MB / 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.9696/0.9696, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.716e-05, allocations: 5.266 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01366/0.01369, allocations: 13.05 MB / 286.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.02531, allocations: 3.977 MB / 290.5 MB, free: 16 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1201/0.1454, allocations: 117 kB / 290.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006834/0.1522, allocations: 5.883 MB / 296.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.1563, allocations: 1.431 MB / 298 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1585, allocations: 1.172 MB / 299.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00675/0.1652, allocations: 6.711 MB / 305.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.1758, allocations: 9.326 MB / 315.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006828/0.1826, allocations: 5.015 MB / 320.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.1875, allocations: 3.874 MB / 324.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.1895, allocations: 0.8828 MB / 324.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.1921, allocations: 1.098 MB / 326 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.1936, allocations: 1.832 MB / 327.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003968/0.1976, allocations: 2.427 MB / 330.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00672/0.2043, allocations: 6.168 MB / 336.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2043, allocations: 0 / 336.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2043, allocations: 0 / 336.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001963/0.2045, allocations: 4 kB / 336.5 MB, free: 1.715 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.0105/0.215, allocations: 7.414 MB / 343.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2151, allocations: 8.031 kB / 343.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.2262, allocations: 3.727 MB / 347.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.2305, allocations: 2.05 MB / 349.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.2307, allocations: 484.9 kB / 350.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.2318, allocations: 0.621 MB / 350.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/0.2387, allocations: 5.144 MB / 355.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.2388, allocations: 7.953 kB / 355.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/0.2391, allocations: 260 kB / 356.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/0.2393, allocations: 317.4 kB / 356.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.2429, allocations: 2.541 MB / 359 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.2643, allocations: 17.85 MB / 376.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/0.2676, allocations: 2.479 MB / 379.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.2684, allocations: 0.6349 MB / 380 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.2685, allocations: 89.88 kB / 380.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.2686, allocations: 60.56 kB / 380.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 6.322e-06/0.2686, allocations: 0 / 380.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002849/0.2714, allocations: 1.742 MB / 381.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.2715, allocations: 103.1 kB / 382 MB, free: 4.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2726, allocations: 1.292 MB / 383.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/0.2727, allocations: 61.7 kB / 383.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000925/0.2736, allocations: 2.481 MB / 385.8 MB, free: 240 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.274, allocations: 0.8367 MB / 386.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005492/0.2746, allocations: 0.6208 MB / 387.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.2746, allocations: 308.9 kB / 387.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.2752, allocations: 479.6 kB / 388 MB, free: 13.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.2761, allocations: 1.549 MB / 389.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.2779, allocations: 2.301 MB / 391.9 MB, free: 9.059 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.2779, allocations: 12 kB / 391.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002192/0.2801, allocations: 2.101 MB / 394 MB, free: 6.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.2801, allocations: 20 kB / 394 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.2801, allocations: 40 kB / 394.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.2806, allocations: 276.5 kB / 394.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.2821, allocations: 0.7838 MB / 395.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.2846, allocations: 3.638 MB / 398.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.2857, allocations: 361.2 kB / 399.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.2859, allocations: 132.2 kB / 399.2 MB, free: 1.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.2869, allocations: 343.4 kB / 399.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.2872, allocations: 199.8 kB / 399.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.2888, allocations: 1.513 MB / 401.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.2888, allocations: 24 kB / 401.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2888, allocations: 4 kB / 401.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.2889, allocations: 11.95 kB / 401.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/0.2952, allocations: 5.477 MB / 406.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.2952, allocations: 12 kB / 406.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008578/0.2961, allocations: 419.4 kB / 407.2 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.2965, allocations: 240 kB / 407.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.864e-05/0.2966, allocations: 67.92 kB / 407.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.299, allocations: 3.568 MB / 411.1 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.299, allocations: 23.88 kB / 411.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.3012, allocations: 2.367 MB / 413.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/0.3018, allocations: 313.9 kB / 413.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.3019, allocations: 59.98 kB / 413.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.3025, allocations: 83.95 kB / 413.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.3027, allocations: 205.3 kB / 414.1 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.3028, allocations: 71.97 kB / 414.2 MB, free: 1.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005877/0.3034, allocations: 0.5609 MB / 414.7 MB, free: 1.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3034, allocations: 0 / 414.7 MB, free: 1.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002859/0.3062, allocations: 1.456 MB / 416.2 MB, free: 15.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000322/0.3065, allocations: 207.7 kB / 416.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.3087, allocations: 1.881 MB / 418.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.893e-05/0.3088, allocations: 39.84 kB / 418.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008998/0.3097, allocations: 0.9802 MB / 419.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.3111, allocations: 0.5133 MB / 419.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.3219, allocations: 8.537 MB / 428.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.3229, allocations: 1.125 MB / 429.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001165/0.3241, allocations: 401 kB / 429.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008857/0.325, allocations: 0.5089 MB / 430.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.325, allocations: 0 / 430.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of Templates: time 0.153/0.478, allocations: 32.75 MB / 463.1 MB, free: 90.51 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.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.5411416310817003]