Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) 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(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 110.9 kB / 17.75 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 190.6 kB / 18.68 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1698/0.1698, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 58.05 MB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003783/0.3062, allocations: 3.473 MB / 0.5082 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3079, allocations: 1.497 MB / 0.5096 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.308, allocations: 6 kB / 0.5096 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000755/0.3088, allocations: 256.4 kB / 0.5099 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.3093, allocations: 278.9 kB / 0.5101 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3096, allocations: 130.1 kB / 0.5103 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.31, allocations: 344.8 kB / 0.5106 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.3103, allocations: 139.2 kB / 0.5107 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.3105, allocations: 156.3 kB / 0.5109 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.3107, allocations: 151.7 kB / 0.511 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3107, allocations: 18.06 kB / 0.511 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.3112, allocations: 329.7 kB / 0.5113 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3113, allocations: 101.8 kB / 0.5114 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3115, allocations: 104.4 kB / 0.5115 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.3119, allocations: 363 kB / 0.5119 GB, free: 3.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3119, allocations: 5.125 kB / 0.5119 GB, free: 3.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3119, allocations: 0 / 0.5119 GB, free: 3.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3119, allocations: 0 / 0.5119 GB, free: 3.324 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005617/0.3125, allocations: 0.5131 MB / 0.5124 GB, free: 2.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3126, allocations: 9.25 kB / 0.5124 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.3134, allocations: 94.11 kB / 0.5125 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3137, allocations: 262.1 kB / 0.5127 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3137, allocations: 19.33 kB / 0.5128 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.3138, allocations: 17.17 kB / 0.5128 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.3143, allocations: 319.3 kB / 0.5131 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3143, allocations: 0 / 0.5131 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3143, allocations: 11.3 kB / 0.5131 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.3144, allocations: 20.39 kB / 0.5131 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3148, allocations: 288.5 kB / 0.5134 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.3163, allocations: 1.267 MB / 0.5146 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.3167, allocations: 231.5 kB / 0.5148 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3168, allocations: 100.3 kB / 0.5149 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3169, allocations: 3.172 kB / 0.5149 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3169, allocations: 45.05 kB / 0.515 GB, free: 1.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3169, allocations: 0 / 0.515 GB, free: 1.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007486/0.3176, allocations: 441.3 kB / 0.5154 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.3177, allocations: 79.83 kB / 0.5155 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3178, allocations: 212 kB / 0.5157 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3179, allocations: 26.61 kB / 0.5157 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.3179, allocations: 156.2 kB / 0.5159 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.318, allocations: 60.05 kB / 0.5159 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.3181, allocations: 48.2 kB / 0.516 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.3181, allocations: 325.4 kB / 0.5163 GB, free: 180 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3182, allocations: 89.58 kB / 0.5164 GB, free: 148 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3184, allocations: 158.9 kB / 0.5165 GB, free: 28 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.3187, allocations: 268.1 kB / 0.5168 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3188, allocations: 4 kB / 0.5168 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004644/0.3192, allocations: 297.8 kB / 0.5171 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3193, allocations: 5.875 kB / 0.5171 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3193, allocations: 3.234 kB / 0.5171 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3193, allocations: 11.5 kB / 0.5171 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.3196, allocations: 57.33 kB / 0.5171 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3196, allocations: 4.156 kB / 0.5171 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3197, allocations: 14 kB / 0.5171 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3198, allocations: 9.781 kB / 0.5172 GB, free: 15.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001423/0.3199, allocations: 155.5 kB / 0.5173 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.32, allocations: 20.91 kB / 0.5173 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.3204, allocations: 227.4 kB / 0.5175 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3204, allocations: 4.688 kB / 0.5175 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3204, allocations: 5.281 kB / 0.5176 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.3205, allocations: 95.8 kB / 0.5176 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.3205, allocations: 2.953 kB / 0.5176 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.3206, allocations: 10.33 kB / 0.5177 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.3207, allocations: 12.75 kB / 0.5177 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004954/0.3212, allocations: 372.8 kB / 0.518 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004393/0.3216, allocations: 461.6 kB / 0.5185 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001321/0.3218, allocations: 87.45 kB / 0.5185 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.3219, allocations: 149.6 kB / 0.5187 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.3219, allocations: 0 / 0.5187 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009921/0.3229, allocations: 381.4 kB / 0.5191 GB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009072/0.3238, allocations: 0.8495 MB / 0.5199 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.007304/0.3311, allocations: 3.473 MB / 0.5233 GB, free: 13.38 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches