Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001155/0.001155, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0009378/0.0009378, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 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.9013/0.9013, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2484/0.2484, allocations: 29.4 MB / 290.1 MB, free: 2.445 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.975e-05, allocations: 8.609 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007618/0.007648, allocations: 6.954 MB / 437.2 MB, free: 6.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005522/0.01317, allocations: 4.132 MB / 441.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005374/0.01371, allocations: 15.94 kB / 441.3 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.01563, allocations: 1.022 MB / 442.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.01973, allocations: 1.326 MB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1996/0.2193, allocations: 341.9 kB / 444 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.2208, allocations: 1.432 MB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007345/0.2215, allocations: 0.5753 MB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009621/0.2225, allocations: 0.8497 MB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.2231, allocations: 0.7368 MB / 447.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.2232, allocations: 78.38 kB / 447.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.2249, allocations: 1.428 MB / 449.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004072/0.2254, allocations: 0.6512 MB / 449.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.2256, allocations: 412.9 kB / 450.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.2274, allocations: 1.98 MB / 452.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2274, allocations: 0.5 kB / 452.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2274, allocations: 0 / 452.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2274, allocations: 1.531 kB / 452.1 MB, free: 42.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001198/0.2286, allocations: 1.276 MB / 453.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2287, allocations: 13.2 kB / 453.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.2288, allocations: 161 kB / 453.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.2307, allocations: 0.5587 MB / 454.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.2314, allocations: 0.5069 MB / 454.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.2314, allocations: 64.75 kB / 454.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.2315, allocations: 88.67 kB / 454.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2329, allocations: 1.499 MB / 456.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.233, allocations: 0.7188 kB / 456.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.233, allocations: 45.62 kB / 456.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.246e-05/0.2331, allocations: 103.6 kB / 456.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.2345, allocations: 1.538 MB / 458 MB, free: 40.71 MB / 410.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 preOpt removeSimpleEquations (simulation): time 0.004415/0.2389, allocations: 4.352 MB / 462.3 MB, free: 38.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.24, allocations: 1.081 MB / 463.4 MB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.2406, allocations: 0.6815 MB / 464.1 MB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.2406, allocations: 25.62 kB / 464.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2406, allocations: 43 kB / 464.2 MB, free: 37.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.206e-06/0.2407, allocations: 0 / 464.2 MB, free: 37.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.004559/0.2452, allocations: 3.524 MB / 467.7 MB, free: 36.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.2453, allocations: 97.89 kB / 467.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.2456, allocations: 487.2 kB / 468.3 MB, free: 36.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.2456, allocations: 44.7 kB / 468.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2458, allocations: 435.3 kB / 468.7 MB, free: 35.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.246, allocations: 384.5 kB / 469.1 MB, free: 35.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2462, allocations: 199.3 kB / 469.3 MB, free: 35.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.2462, allocations: 387.6 kB / 469.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.2467, allocations: 0.5351 MB / 470.2 MB, free: 34.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.2473, allocations: 0.7518 MB / 471 MB, free: 34.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2484, allocations: 1.4 MB / 472.4 MB, free: 33.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2484, allocations: 3.375 kB / 472.4 MB, free: 33.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001771/0.2502, allocations: 1.8 MB / 474.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2502, allocations: 8.188 kB / 474.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2502, allocations: 5.625 kB / 474.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/0.2509, allocations: 410 kB / 474.6 MB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.2514, allocations: 238.4 kB / 474.8 MB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.2556, allocations: 5.675 MB / 480.5 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.2561, allocations: 66.34 kB / 480.6 MB, free: 29.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.2562, allocations: 44.53 kB / 480.6 MB, free: 29.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004388/0.2566, allocations: 355.8 kB / 481 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.2567, allocations: 79.56 kB / 481 MB, free: 29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.2587, allocations: 1.801 MB / 482.8 MB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.2587, allocations: 12.38 kB / 482.8 MB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.2587, allocations: 6.812 kB / 482.8 MB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2587, allocations: 7.891 kB / 482.9 MB, free: 28.3 MB / 410.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.003506/0.2622, allocations: 3.198 MB / 486.1 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2622, allocations: 3.469 kB / 486.1 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.2626, allocations: 185.4 kB / 486.2 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.2631, allocations: 362.1 kB / 486.6 MB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.2632, allocations: 27.94 kB / 486.6 MB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.2671, allocations: 5.456 MB / 492.1 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.2671, allocations: 5.219 kB / 492.1 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.2692, allocations: 1.814 MB / 493.9 MB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.2693, allocations: 87.27 kB / 494 MB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.2694, allocations: 29.84 kB / 494 MB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2697, allocations: 51.45 kB / 494.1 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.2699, allocations: 100.3 kB / 494.2 MB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.2699, allocations: 37.59 kB / 494.2 MB, free: 22.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003274/0.2703, allocations: 325.2 kB / 494.5 MB, free: 22.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2703, allocations: 0 / 494.5 MB, free: 22.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001012/0.2713, allocations: 400.5 kB / 494.9 MB, free: 22.03 MB / 410.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.002065/0.2733, allocations: 2.372 MB / 497.3 MB, free: 20.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.2753, allocations: 1.686 MB / 499 MB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2753, allocations: 0 / 499 MB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.2763, allocations: 1.018 MB / 500 MB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.2769, allocations: 126.9 kB / 0.4884 GB, free: 19.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.2871, allocations: 9.13 MB / 0.4973 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.2879, allocations: 0.5715 MB / 0.4979 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.2884, allocations: 236.4 kB / 0.4981 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.2888, allocations: 345.3 kB / 0.4984 GB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 3.156e-06/0.2888, allocations: 3.938 kB / 0.4984 GB, free: 14.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.3264, allocations: 22.12 MB / 0.52 GB, free: 9.969 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.486, allocations: 10.95 kB / 0.52 GB, free: 9.961 MB / 426.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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: 9.550844018347561]