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.0015/0.0015, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00155/0.00155, allocations: 174 kB / 25.61 MB, free: 8.09 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.9497/0.9497, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.803e-06/1.803e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.708e-05, allocations: 2.938 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01616/0.01619, allocations: 12.99 MB / 287.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007944/0.02413, allocations: 3.764 MB / 291 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.02632, allocations: 119.4 kB / 291.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006105/0.03243, allocations: 5.775 MB / 296.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.03659, allocations: 1.425 MB / 298.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.03876, allocations: 1.182 MB / 299.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007519/0.04627, allocations: 6.698 MB / 306.2 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01585/0.06213, allocations: 9.085 MB / 315.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008815/0.07094, allocations: 4.985 MB / 320.2 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/0.07645, allocations: 3.813 MB / 324 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00269/0.07915, allocations: 0.8828 MB / 324.9 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.08247, allocations: 1.078 MB / 326 MB, free: 344 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002084/0.08456, allocations: 1.835 MB / 327.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004142/0.0887, allocations: 2.425 MB / 330.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007516/0.09621, allocations: 6.158 MB / 336.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.09622, allocations: 4 kB / 336.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09622, allocations: 3.938 kB / 336.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002914/0.09651, allocations: 0 / 336.4 MB, free: 5.879 MB / 314.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.1446/0.2411, allocations: 7.99 MB / 344.4 MB, free: 47.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2411, allocations: 9.656 kB / 344.4 MB, free: 47.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.2523, allocations: 3.508 MB / 347.9 MB, free: 46.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.2565, allocations: 3.287 MB / 351.2 MB, free: 46.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.2567, allocations: 489.1 kB / 351.7 MB, free: 46.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007069/0.2574, allocations: 0.6277 MB / 352.3 MB, free: 46.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/0.2635, allocations: 5.003 MB / 357.3 MB, free: 45.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.2636, allocations: 7.797 kB / 357.3 MB, free: 45.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/0.264, allocations: 264.2 kB / 357.6 MB, free: 44.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/0.2642, allocations: 314.5 kB / 357.9 MB, free: 44.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.2674, allocations: 2.216 MB / 360.1 MB, free: 44.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02228/0.2897, allocations: 22.97 MB / 383.1 MB, free: 23.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.2932, allocations: 2.81 MB / 385.9 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008089/0.294, allocations: 0.7109 MB / 386.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.2941, allocations: 86.8 kB / 386.7 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2942, allocations: 63.39 kB / 386.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=238): time 4.809e-06/0.2942, allocations: 0 / 386.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.00316/0.2973, allocations: 2.186 MB / 388.9 MB, free: 18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2974, allocations: 106.9 kB / 389.1 MB, free: 17.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.2991, allocations: 1.895 MB / 390.9 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.2992, allocations: 61.7 kB / 391 MB, free: 16.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009661/0.3002, allocations: 2.815 MB / 393.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.3006, allocations: 0.8756 MB / 394.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005877/0.3012, allocations: 0.7598 MB / 395.5 MB, free: 12.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.3013, allocations: 480.5 kB / 395.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.3017, allocations: 410.6 kB / 396.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.3026, allocations: 2.197 MB / 398.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.3044, allocations: 2.916 MB / 401.4 MB, free: 4.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/0.3044, allocations: 12 kB / 401.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002705/0.3071, allocations: 2.63 MB / 404.1 MB, free: 2.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3071, allocations: 24 kB / 404.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.3071, allocations: 36 kB / 404.1 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.3076, allocations: 301.8 kB / 404.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3088, allocations: 0.7401 MB / 405.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.3117, allocations: 5.088 MB / 410.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3131, allocations: 361.2 kB / 410.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.3133, allocations: 136 kB / 410.7 MB, free: 11.79 MB / 330.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.001557/0.3148, allocations: 389.8 kB / 411.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.3152, allocations: 286.6 kB / 411.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.3174, allocations: 1.875 MB / 413.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3174, allocations: 24.88 kB / 413.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3174, allocations: 4 kB / 413.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.3174, allocations: 11.95 kB / 413.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009295/0.3267, allocations: 7.025 MB / 420.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.3267, allocations: 12 kB / 420.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/0.3276, allocations: 397.9 kB / 420.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.3281, allocations: 261.3 kB / 421 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.3282, allocations: 71.97 kB / 421.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/0.3314, allocations: 5.03 MB / 426.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.3314, allocations: 23.5 kB / 426.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3345, allocations: 2.846 MB / 429 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.3354, allocations: 425.4 kB / 429.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.3356, allocations: 66.72 kB / 429.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.3362, allocations: 80.02 kB / 429.5 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.3364, allocations: 219.9 kB / 429.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.3365, allocations: 67.98 kB / 429.8 MB, free: 8.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008471/0.3374, allocations: 0.8205 MB / 430.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3374, allocations: 0 / 430.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003246/0.3406, allocations: 1.452 MB / 432.1 MB, free: 6.746 MB / 346.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.0003372/0.3409, allocations: 223.2 kB / 432.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.3437, allocations: 2.224 MB / 434.5 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.3438, allocations: 12.52 kB / 434.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3448, allocations: 1.168 MB / 435.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.3465, allocations: 0.5314 MB / 436.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.3576, allocations: 8.649 MB / 444.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.3589, allocations: 1.554 MB / 446.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001244/0.3601, allocations: 397 kB / 446.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008889/0.361, allocations: 0.5683 MB / 447.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.361, allocations: 0 / 447.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of Templates: time 0.04827/0.4093, allocations: 33.04 MB / 480.4 MB, free: 6.836 MB / 394.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 -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.9596142140217125]