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/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.001379/0.001379, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001033/0.001033, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9537/0.9537, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2363/0.2363, allocations: 29.43 MB / 290.9 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.806e-05, allocations: 6.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00382/0.003838, allocations: 3.858 MB / 373.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.005498, allocations: 1.445 MB / 375 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.005664, allocations: 11.88 kB / 375 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.006289, allocations: 270.9 kB / 375.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.007012, allocations: 406 kB / 375.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.007333, allocations: 139.4 kB / 375.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.007847, allocations: 498.4 kB / 376.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.00814, allocations: 167.4 kB / 376.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.008485, allocations: 283.1 kB / 376.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.008761, allocations: 231.3 kB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.00879, allocations: 24 kB / 376.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.009235, allocations: 378.7 kB / 377.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.00936, allocations: 171.6 kB / 377.5 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.009455, allocations: 111.7 kB / 377.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.009972, allocations: 438.6 kB / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.009974, allocations: 0 / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.009975, allocations: 0 / 378 MB, free: 2.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.009981, allocations: 0 / 378 MB, free: 2.559 MB / 346.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.0006376/0.01062, allocations: 0.6283 MB / 378.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.01065, allocations: 15.98 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.01132, allocations: 196.4 kB / 378.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.01158, allocations: 236.3 kB / 379.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.0116, allocations: 21.02 kB / 379.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.01164, allocations: 28.38 kB / 379.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.01198, allocations: 297.6 kB / 379.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.012, allocations: 192 / 379.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.01202, allocations: 16.38 kB / 379.4 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.01205, allocations: 24.58 kB / 379.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.01229, allocations: 179.7 kB / 379.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01407, allocations: 1.533 MB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.01432, allocations: 146 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.01441, allocations: 75.41 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01444, allocations: 7.984 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01446, allocations: 41.33 kB / 381.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.707e-06/0.01447, allocations: 0 / 381.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001008/0.01547, allocations: 0.4996 MB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.01552, allocations: 81.11 kB / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01566, allocations: 258.8 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01568, allocations: 29.7 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.01577, allocations: 235.1 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.01582, allocations: 83.28 kB / 382.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.01589, allocations: 63.59 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.016, allocations: 0.5079 MB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.01606, allocations: 40.53 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.01617, allocations: 184.6 kB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.01638, allocations: 254.1 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01638, allocations: 4 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003692/0.01675, allocations: 304.7 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01677, allocations: 4 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01677, allocations: 4 kB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.01704, allocations: 79.97 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01717, allocations: 63.89 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.01847, allocations: 2.192 MB / 386.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01857, allocations: 15.98 kB / 386.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.01859, allocations: 16 kB / 386.3 MB, free: 9.699 MB / 362.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.0001032/0.01869, allocations: 168.5 kB / 386.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.01873, allocations: 31.84 kB / 386.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.01908, allocations: 263 kB / 386.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01908, allocations: 4 kB / 386.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01908, allocations: 0 / 386.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01909, allocations: 3.984 kB / 386.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.01981, allocations: 0.6797 MB / 387.5 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.01981, allocations: 7.984 kB / 387.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.01989, allocations: 31.98 kB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.02004, allocations: 59.81 kB / 387.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.02005, allocations: 4 kB / 387.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.02129, allocations: 2.149 MB / 389.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02129, allocations: 4 kB / 389.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.02165, allocations: 421.8 kB / 390.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.02167, allocations: 19.86 kB / 390.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.02168, allocations: 7.938 kB / 390.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.02176, allocations: 15.98 kB / 390.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.0218, allocations: 15.97 kB / 390.2 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.02181, allocations: 11.98 kB / 390.2 MB, free: 5.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.284e-05/0.02188, allocations: 173.4 kB / 390.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.02188, allocations: 0 / 390.4 MB, free: 5.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.0222, allocations: 87.94 kB / 390.4 MB, free: 5.336 MB / 362.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 9.278e-05/0.02229, allocations: 103.2 kB / 390.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.02272, allocations: 375.8 kB / 390.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02272, allocations: 0 / 390.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.02293, allocations: 305.1 kB / 391.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.02318, allocations: 42.34 kB / 391.3 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.02417, allocations: 0.5412 MB / 391.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.104e-05/0.02424, allocations: 120.2 kB / 391.9 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.02433, allocations: 45.91 kB / 392 MB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.02438, allocations: 28.5 kB / 392 MB, free: 3.684 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02438, allocations: 0 / 392 MB, free: 3.684 MB / 362.7 MB Notification: Performance of Templates: time 0.00524/0.02962, allocations: 3.15 MB / 395.1 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","",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.0754393320530653]