Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 223.1 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 105.2 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1738/0.1738, allocations: 38 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 43.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3497, allocations: 55.24 MB / 477.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.007056/0.3568, allocations: 4.184 MB / 481.3 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.3603, allocations: 1.942 MB / 483.2 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.3606, allocations: 12.31 kB / 483.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.3617, allocations: 343.1 kB / 483.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.3627, allocations: 386 kB / 484 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.3632, allocations: 124.4 kB / 484.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3644, allocations: 0.8481 MB / 484.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.3648, allocations: 212.7 kB / 485.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.3652, allocations: 188.2 kB / 485.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.3656, allocations: 246.2 kB / 485.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.3657, allocations: 16.5 kB / 485.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.367, allocations: 0.5295 MB / 486.1 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.3673, allocations: 154.7 kB / 486.3 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.3675, allocations: 143.4 kB / 486.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.3685, allocations: 0.5144 MB / 486.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3685, allocations: 4 kB / 486.9 MB, free: 4.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3685, allocations: 0 / 486.9 MB, free: 4.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3685, allocations: 3.938 kB / 486.9 MB, free: 4.105 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009794/0.3695, allocations: 0.5984 MB / 487.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3696, allocations: 9.625 kB / 487.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.3709, allocations: 138.7 kB / 487.7 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.3713, allocations: 281.8 kB / 487.9 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.3713, allocations: 18.56 kB / 487.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.3714, allocations: 36.7 kB / 488 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.3722, allocations: 440.5 kB / 488.4 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.3722, allocations: 1.844 kB / 488.4 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3723, allocations: 10.75 kB / 488.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/0.3724, allocations: 29.94 kB / 488.5 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.3732, allocations: 426.2 kB / 488.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.3758, allocations: 1.719 MB / 490.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.3763, allocations: 289.2 kB / 490.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.3765, allocations: 139 kB / 491 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.3766, allocations: 3.359 kB / 491 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3766, allocations: 36.69 kB / 491 MB, free: 1.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.126e-06/0.3766, allocations: 4 kB / 491.1 MB, free: 1.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.00213/0.3788, allocations: 0.7783 MB / 491.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3788, allocations: 79.67 kB / 491.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.379, allocations: 216.4 kB / 492.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3791, allocations: 26.77 kB / 492.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3792, allocations: 188 kB / 492.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.3793, allocations: 76.89 kB / 492.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3794, allocations: 56.55 kB / 492.5 MB, free: 476 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.3795, allocations: 339.5 kB / 492.8 MB, free: 140 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3797, allocations: 107.5 kB / 492.9 MB, free: 104 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.38, allocations: 204.1 kB / 493.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.3805, allocations: 338.4 kB / 493.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3805, allocations: 6.125 kB / 493.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000998/0.3815, allocations: 437.4 kB / 493.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.3816, allocations: 6.844 kB / 493.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3816, allocations: 2.531 kB / 493.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.3821, allocations: 90.53 kB / 494 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.3824, allocations: 55.38 kB / 494 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.3848, allocations: 1.804 MB / 495.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3849, allocations: 16.73 kB / 495.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.385, allocations: 10.84 kB / 495.8 MB, free: 13.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.3852, allocations: 182.1 kB / 496 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3853, allocations: 18.62 kB / 496 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/0.3861, allocations: 383.4 kB / 496.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3862, allocations: 6.5 kB / 496.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3862, allocations: 13.5 kB / 496.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3862, allocations: 3.406 kB / 496.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.388, allocations: 0.9041 MB / 497.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.388, allocations: 0.75 kB / 497.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3881, allocations: 34.17 kB / 497.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.3884, allocations: 72.47 kB / 497.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.3885, allocations: 12.2 kB / 497.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.3903, allocations: 1.71 MB / 499.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3903, allocations: 1.625 kB / 499.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.3917, allocations: 1.17 MB / 0.4886 GB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3918, allocations: 96.73 kB / 0.4887 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.3919, allocations: 7.25 kB / 0.4887 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.392, allocations: 11.09 kB / 0.4887 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.3921, allocations: 20.14 kB / 0.4887 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3921, allocations: 10.45 kB / 0.4888 GB, free: 10.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3923, allocations: 156.7 kB / 0.4889 GB, free: 10.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.3923, allocations: 1.125 kB / 0.4889 GB, free: 10.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006738/0.393, allocations: 86.16 kB / 0.489 GB, free: 10.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.3931, allocations: 103.3 kB / 0.4891 GB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008321/0.394, allocations: 423.3 kB / 0.4895 GB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.394, allocations: 0 / 0.4895 GB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.3945, allocations: 292.2 kB / 0.4898 GB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3949, allocations: 39.34 kB / 0.4898 GB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3963, allocations: 0.9232 MB / 0.4907 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.3967, allocations: 0.8098 MB / 0.4915 GB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.3969, allocations: 53.41 kB / 0.4915 GB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.397, allocations: 20.03 kB / 0.4916 GB, free: 8.262 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.397, allocations: 0 / 0.4916 GB, free: 8.262 MB / 330.7 MB Notification: Performance of Templates: time 0.00766/0.4047, allocations: 2.995 MB / 0.4945 GB, free: 6.789 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches