Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001896/0.001896, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001952/0.001952, allocations: 169.3 kB / 24.28 MB, free: 152 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.326/0.326, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.929e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01071/0.01075, allocations: 7.386 MB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00788/0.01863, allocations: 4.358 MB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.01934, allocations: 15.94 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.02241, allocations: 1.054 MB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.02614, allocations: 1.24 MB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.02716, allocations: 326.8 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.02911, allocations: 1.429 MB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009195/0.03003, allocations: 0.5128 MB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.0314, allocations: 0.8176 MB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.03266, allocations: 0.6855 MB / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.03277, allocations: 64 kB / 386.8 MB, free: 9.359 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.0354, allocations: 1.141 MB / 387.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.03606, allocations: 0.5183 MB / 388.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.03652, allocations: 311.3 kB / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.03923, allocations: 1.539 MB / 390.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.03924, allocations: 0 / 390.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.03924, allocations: 7.938 kB / 390.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.03925, allocations: 0 / 390.3 MB, free: 5.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002082/0.04133, allocations: 1.224 MB / 391.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.04138, allocations: 15.98 kB / 391.5 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.04488, allocations: 0.5386 MB / 392.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.0459, allocations: 427.8 kB / 392.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.04597, allocations: 58.36 kB / 392.5 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.04611, allocations: 72.3 kB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.04762, allocations: 0.7595 MB / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.04765, allocations: 8.125 kB / 393.4 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.04773, allocations: 28.36 kB / 393.4 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.04784, allocations: 81.89 kB / 393.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.04913, allocations: 0.5893 MB / 394.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/0.055, allocations: 2.86 MB / 396.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.05649, allocations: 0.5943 MB / 397.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.05707, allocations: 298.3 kB / 397.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-05/0.05715, allocations: 24.98 kB / 397.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.0572, allocations: 46.39 kB / 397.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/0.0572, allocations: 0 / 397.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.006377/0.06358, allocations: 1.954 MB / 399.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.06367, allocations: 94.05 kB / 399.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.06419, allocations: 430.7 kB / 400.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.06426, allocations: 41.7 kB / 400.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.06458, allocations: 383.6 kB / 400.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.06497, allocations: 349.1 kB / 401.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.06529, allocations: 180.3 kB / 401.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003737/0.06566, allocations: 0.5743 MB / 401.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.06611, allocations: 193.9 kB / 402.1 MB, free: 9.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.06675, allocations: 371.7 kB / 402.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.06798, allocations: 0.6451 MB / 403.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.06798, allocations: 0 / 403.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002154/0.07014, allocations: 0.9141 MB / 404 MB, free: 7.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.07017, allocations: 11.98 kB / 404 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.07018, allocations: 0 / 404 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.07121, allocations: 272.6 kB / 404.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.07212, allocations: 179.7 kB / 404.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/0.07743, allocations: 3.414 MB / 407.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.07803, allocations: 47.91 kB / 407.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.07811, allocations: 43.86 kB / 407.9 MB, free: 3.668 MB / 378.7 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 (80): * Single equations (assignments): 79 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.07852, allocations: 216.4 kB / 408.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.07871, allocations: 83.67 kB / 408.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.08105, allocations: 0.9644 MB / 409.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.08106, allocations: 12 kB / 409.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.08107, allocations: 11.92 kB / 409.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.08109, allocations: 7.984 kB / 409.2 MB, free: 2.359 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.08577, allocations: 2.05 MB / 411.3 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.08578, allocations: 4 kB / 411.3 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.08644, allocations: 163.8 kB / 411.4 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.08752, allocations: 227.5 kB / 411.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.08759, allocations: 31.92 kB / 411.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.09252, allocations: 3.271 MB / 415 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.09252, allocations: 4 kB / 415 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.09482, allocations: 1.182 MB / 416.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.09499, allocations: 67.56 kB / 416.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.09509, allocations: 23.98 kB / 416.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.09552, allocations: 43.97 kB / 416.3 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.09574, allocations: 88.72 kB / 416.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/0.09584, allocations: 39.98 kB / 416.4 MB, free: 10.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003268/0.09617, allocations: 267.1 kB / 416.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09617, allocations: 0 / 416.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001044/0.09721, allocations: 308 kB / 417 MB, free: 10.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.09743, allocations: 131 kB / 417.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.09935, allocations: 0.9439 MB / 418 MB, free: 9.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.09936, allocations: 3.938 kB / 418 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.1007, allocations: 0.6764 MB / 418.7 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.1013, allocations: 81.05 kB / 418.8 MB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.1042, allocations: 1.478 MB / 420.3 MB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.1047, allocations: 460.8 kB / 420.7 MB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000409/0.1052, allocations: 144.6 kB / 420.9 MB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.1054, allocations: 64.47 kB / 420.9 MB, free: 6.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1054, allocations: 0 / 420.9 MB, free: 6.164 MB / 394.7 MB Notification: Performance of Templates: time 0.02082/0.1262, allocations: 10.44 MB / 431.4 MB, free: 11.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.414682048955001]