Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.0009868/0.0009868, allocations: 85.08 kB / 23 MB, free: 1.5 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.000897/0.000897, allocations: 176 kB / 26.39 MB, free: 7.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.003/1.003, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 3.938 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.624e-05, allocations: 10.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.02359/0.02362, allocations: 13.6 MB / 265.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009168/0.03279, allocations: 3.895 MB / 269.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.03535, allocations: 99.56 kB / 269.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006363/0.04172, allocations: 5.829 MB / 275.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.04678, allocations: 1.658 MB / 277.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.04895, allocations: 1.192 MB / 278.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006923/0.05587, allocations: 7.076 MB / 285.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.06751, allocations: 9.226 MB / 294.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007461/0.07497, allocations: 5.246 MB / 300.1 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005583/0.08055, allocations: 4.094 MB / 304.2 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002308/0.08286, allocations: 0.9141 MB / 305.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.08569, allocations: 1.101 MB / 306.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.08728, allocations: 2.006 MB / 308.2 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004321/0.0916, allocations: 2.573 MB / 310.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.09845, allocations: 6.508 MB / 317.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.09846, allocations: 0 / 317.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09846, allocations: 0 / 317.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002948/0.09875, allocations: 0 / 317.3 MB, free: 5.898 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01277/0.1115, allocations: 8.541 MB / 325.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1116, allocations: 16.03 kB / 325.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.1276, allocations: 5.264 MB / 331.1 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006172/0.1338, allocations: 2.982 MB / 334.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.1342, allocations: 0.5097 MB / 334.6 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.1355, allocations: 0.6679 MB / 335.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007711/0.1433, allocations: 5.521 MB / 340.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.1434, allocations: 15.94 kB / 340.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004637/0.1438, allocations: 280 kB / 341.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/0.1441, allocations: 386.6 kB / 341.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.1485, allocations: 2.73 MB / 344.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1689/0.3174, allocations: 24.57 MB / 368.8 MB, free: 64.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/0.3224, allocations: 4.412 MB / 373.2 MB, free: 64.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.3236, allocations: 0.858 MB / 374 MB, free: 63.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005217/0.3288, allocations: 3.577 MB / 377.6 MB, free: 63.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.3288, allocations: 57.55 kB / 377.7 MB, free: 63.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 3.316e-06/0.3288, allocations: 0 / 377.7 MB, free: 63.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.002738/0.3316, allocations: 1.7 MB / 379.4 MB, free: 62.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.3316, allocations: 96.64 kB / 379.5 MB, free: 62.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.3339, allocations: 2.53 MB / 382 MB, free: 62.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.334, allocations: 50.8 kB / 382 MB, free: 62.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.3354, allocations: 3.441 MB / 385.5 MB, free: 60.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.3357, allocations: 0.5836 MB / 386.1 MB, free: 60.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008344/0.3365, allocations: 0.8993 MB / 387 MB, free: 60.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.3366, allocations: 476.8 kB / 387.4 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.3371, allocations: 425.2 kB / 387.8 MB, free: 59.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.3383, allocations: 3.119 MB / 391 MB, free: 56.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.3405, allocations: 3.869 MB / 394.8 MB, free: 51.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/0.3405, allocations: 20 kB / 394.9 MB, free: 51.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.003346/0.3438, allocations: 3.108 MB / 398 MB, free: 49.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.3439, allocations: 32 kB / 398 MB, free: 49.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.3439, allocations: 60 kB / 398.1 MB, free: 49.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.3445, allocations: 331.9 kB / 398.4 MB, free: 48.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3459, allocations: 0.8382 MB / 399.2 MB, free: 48.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.3485, allocations: 5.128 MB / 404.3 MB, free: 43.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.3505, allocations: 481.9 kB / 404.8 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.3506, allocations: 179.6 kB / 405 MB, free: 42.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.001422/0.352, allocations: 433.5 kB / 405.4 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.3523, allocations: 278.5 kB / 405.7 MB, free: 42.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3538, allocations: 1.349 MB / 407 MB, free: 40.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3538, allocations: 16 kB / 407 MB, free: 40.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3538, allocations: 4 kB / 407.1 MB, free: 40.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3538, allocations: 7.969 kB / 407.1 MB, free: 40.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005095/0.3589, allocations: 4.495 MB / 411.6 MB, free: 36.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3589, allocations: 4.031 kB / 411.6 MB, free: 36.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.3595, allocations: 234.1 kB / 411.8 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004699/0.36, allocations: 243.5 kB / 412 MB, free: 36.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.3601, allocations: 32 kB / 412.1 MB, free: 36.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.3622, allocations: 5.003 MB / 417.1 MB, free: 31.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3622, allocations: 3.469 kB / 417.1 MB, free: 31.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.3637, allocations: 1.701 MB / 418.8 MB, free: 29.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.3642, allocations: 360 kB / 419.1 MB, free: 29.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.3644, allocations: 28 kB / 419.1 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.3649, allocations: 51.98 kB / 419.2 MB, free: 29.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.365, allocations: 112.8 kB / 419.3 MB, free: 28.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.365, allocations: 40.2 kB / 419.3 MB, free: 28.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007581/0.3658, allocations: 1.057 MB / 420.4 MB, free: 27.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3658, allocations: 0 / 420.4 MB, free: 27.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002992/0.3688, allocations: 1.549 MB / 421.9 MB, free: 26.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002432/0.369, allocations: 165.3 kB / 422.1 MB, free: 26.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.3712, allocations: 2.261 MB / 424.4 MB, free: 24.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3712, allocations: 2.516 kB / 424.4 MB, free: 24.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.3719, allocations: 0.9263 MB / 425.3 MB, free: 23.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.3731, allocations: 0.5062 MB / 425.8 MB, free: 22.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.3835, allocations: 8.709 MB / 434.5 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.3848, allocations: 1.612 MB / 436.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001583/0.3864, allocations: 439 kB / 436.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009141/0.3873, allocations: 0.5527 MB / 437.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3873, allocations: 0 / 437.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of Templates: time 0.05415/0.4415, allocations: 32.43 MB / 469.5 MB, free: 11.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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.806630255188793]