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.0009055/0.0009055, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0008734/0.0008734, allocations: 161 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 1.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.625 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.2459/0.2459, allocations: 29.41 MB / 290.9 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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 2.164e-06/2.164e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.484e-05, allocations: 6.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006175/0.00621, allocations: 3.866 MB / 373.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.008459, allocations: 1.441 MB / 374.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.00867, allocations: 7.938 kB / 374.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.009523, allocations: 270.8 kB / 375.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009769/0.0105, allocations: 406.1 kB / 375.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.01093, allocations: 147.4 kB / 375.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.01161, allocations: 498.4 kB / 376.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.012, allocations: 159.5 kB / 376.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.01256, allocations: 291.1 kB / 376.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004234/0.01299, allocations: 231.3 kB / 376.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.01303, allocations: 20 kB / 376.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007079/0.01374, allocations: 374.8 kB / 377.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.01395, allocations: 171.6 kB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.0141, allocations: 107.8 kB / 377.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007937/0.01489, allocations: 446.6 kB / 378 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.0149, allocations: 0 / 378 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0149, allocations: 0 / 378 MB, free: 2.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.01492, allocations: 0 / 378 MB, free: 2.578 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.000958/0.01587, allocations: 0.6321 MB / 378.6 MB, free: 1.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.01592, allocations: 15.98 kB / 378.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.01703, allocations: 196.4 kB / 378.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.0174, allocations: 237.2 kB / 379.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.01743, allocations: 21.03 kB / 379.1 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.01749, allocations: 24.38 kB / 379.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.01798, allocations: 297.7 kB / 379.4 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.018, allocations: 8.125 kB / 379.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.01803, allocations: 12.36 kB / 379.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.01808, allocations: 28.58 kB / 379.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.01845, allocations: 179.7 kB / 379.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.02031, allocations: 1.526 MB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.02058, allocations: 150 kB / 381.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.02069, allocations: 71.41 kB / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.02072, allocations: 7.984 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.02075, allocations: 41.39 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.786e-06/0.02075, allocations: 0 / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001235/0.02199, allocations: 0.4956 MB / 381.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.02203, allocations: 85.05 kB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.02223, allocations: 262.8 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.02225, allocations: 29.7 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.02238, allocations: 235.1 kB / 382.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.02244, allocations: 83.27 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.02252, allocations: 63.59 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.02267, allocations: 0.5079 MB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.02277, allocations: 44.53 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.02293, allocations: 184.6 kB / 383.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.02321, allocations: 254.5 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02322, allocations: 0 / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005165/0.02373, allocations: 304.7 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.02375, allocations: 8 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.02376, allocations: 0 / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003428/0.0241, allocations: 88.09 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.02428, allocations: 55.89 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.02599, allocations: 2.192 MB / 386.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.02614, allocations: 12 kB / 386.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.02617, allocations: 11.98 kB / 386.3 MB, free: 9.723 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.0001322/0.0263, allocations: 172.5 kB / 386.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.02636, allocations: 23.91 kB / 386.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.02691, allocations: 267 kB / 386.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.02691, allocations: 4 kB / 386.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.02692, allocations: 0 / 386.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.02692, allocations: 4 kB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.02807, allocations: 0.6824 MB / 387.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.02808, allocations: 7.984 kB / 387.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.02821, allocations: 40.11 kB / 387.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.02845, allocations: 63.61 kB / 387.6 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.02847, allocations: 8 kB / 387.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.03008, allocations: 2.137 MB / 389.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.03008, allocations: 3.938 kB / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.03067, allocations: 418.9 kB / 390.1 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.03071, allocations: 23.86 kB / 390.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.03074, allocations: 11.94 kB / 390.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.03087, allocations: 7.984 kB / 390.2 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.03092, allocations: 19.97 kB / 390.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.03094, allocations: 7.984 kB / 390.2 MB, free: 5.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.03106, allocations: 173.4 kB / 390.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03106, allocations: 0 / 390.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005546/0.03161, allocations: 84 kB / 390.4 MB, free: 5.359 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 0.0001376/0.03175, allocations: 107.2 kB / 390.5 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.03244, allocations: 379.8 kB / 390.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.03244, allocations: 0 / 390.9 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.03278, allocations: 301.2 kB / 391.2 MB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.03318, allocations: 36.05 kB / 391.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.0348, allocations: 0.5444 MB / 391.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.03493, allocations: 124.2 kB / 391.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.03506, allocations: 49.94 kB / 392 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.03513, allocations: 20.5 kB / 392 MB, free: 3.703 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03513, allocations: 0 / 392 MB, free: 3.703 MB / 362.7 MB Notification: Performance of Templates: time 0.007297/0.04243, allocations: 3.061 MB / 395 MB, free: 0.6758 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.240680773742497]