Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.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.0009378/0.0009378, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.0009314/0.0009314, allocations: 168.9 kB / 23.02 MB, free: 1.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8681/0.8681, allocations: 158.6 MB / 184.9 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04081/0.04081, allocations: 10.65 MB / 247.9 MB, free: 4.461 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 319.5 MB, free: 39.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.511e-05, allocations: 3.516 kB / 319.5 MB, free: 39.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.05462/0.05465, allocations: 100.4 MB / 419.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.194/0.2486, allocations: 36.45 MB / 456.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/0.2616, allocations: 389.8 kB / 456.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.2734, allocations: 5.379 MB / 462.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02894/0.3024, allocations: 17.14 MB / 479.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.3065, allocations: 1.986 MB / 481.3 MB, free: 6.906 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03717/0.3436, allocations: 37.82 MB / 0.5069 GB, free: 20 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.3472, allocations: 1.306 MB / 0.5082 GB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02638/0.3736, allocations: 16.66 MB / 0.5245 GB, free: 2.402 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01537/0.389, allocations: 10.52 MB / 0.5348 GB, free: 8.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004173/0.3932, allocations: 1.344 MB / 0.5361 GB, free: 6.996 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.4042, allocations: 3.303 MB / 0.5393 GB, free: 3.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002632/0.4068, allocations: 3.301 MB / 0.5425 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01354/0.4203, allocations: 7.953 MB / 0.5503 GB, free: 8.832 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02237/0.4427, allocations: 15.9 MB / 0.5658 GB, free: 10.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4427, allocations: 4 kB / 0.5658 GB, free: 10.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4427, allocations: 0 / 0.5658 GB, free: 10.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008189/0.4435, allocations: 0 / 0.5658 GB, free: 10.42 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3510 * Number of variables: 3510 Notification: Performance of Generate backend data structure: time 0.3171/0.7606, allocations: 27.24 MB / 0.5924 GB, free: 76.54 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.7607, allocations: 9.625 kB / 0.5924 GB, free: 76.54 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.7709, allocations: 4.17 MB / 0.5965 GB, free: 75.92 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.7855, allocations: 8.991 MB / 0.6053 GB, free: 74.09 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006266/0.7862, allocations: 1.176 MB / 0.6064 GB, free: 73.87 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.7877, allocations: 1.289 MB / 0.6077 GB, free: 73.87 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.8033, allocations: 10.68 MB / 0.6181 GB, free: 71.98 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002076/0.8035, allocations: 15.84 kB / 0.6181 GB, free: 71.98 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000745/0.8042, allocations: 0.5533 MB / 0.6187 GB, free: 71.97 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.8044, allocations: 337.7 kB / 0.619 GB, free: 71.97 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.8159, allocations: 7.963 MB / 0.6268 GB, free: 71.75 MB / 458.8 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.0662/0.8821, allocations: 55.3 MB / 0.6808 GB, free: 40.05 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/0.8963, allocations: 16.8 MB / 0.6972 GB, free: 26.92 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004509/0.9008, allocations: 4.165 MB / 0.7012 GB, free: 22.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/0.9012, allocations: 267.3 kB / 0.7015 GB, free: 22.44 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00453/0.9058, allocations: 4.891 MB / 0.7063 GB, free: 17.42 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1464): time 1.629e-05/0.9058, allocations: 4 kB / 0.7063 GB, free: 17.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=1464): time 0.01837/0.9242, allocations: 13.37 MB / 0.7193 GB, free: 4.219 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.9243, allocations: 0.7495 MB / 0.7201 GB, free: 3.332 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/0.9347, allocations: 8.773 MB / 0.7286 GB, free: 10.59 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001218/0.9359, allocations: 261.7 kB / 0.7289 GB, free: 10.33 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004608/0.9405, allocations: 6.616 MB / 0.7353 GB, free: 3.719 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005596/0.9461, allocations: 5.31 MB / 0.7405 GB, free: 14.47 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002822/0.9489, allocations: 2.737 MB / 0.7432 GB, free: 11.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.949, allocations: 480.8 kB / 0.7437 GB, free: 11.25 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003775/0.9528, allocations: 2.54 MB / 0.7461 GB, free: 8.676 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006012/0.9588, allocations: 7.603 MB / 0.7536 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.9703, allocations: 11.29 MB / 0.7646 GB, free: 2.191 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.903e-05/0.9704, allocations: 33.94 kB / 0.7646 GB, free: 2.16 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.1989/1.169, allocations: 14.6 MB / 0.7789 GB, free: 102.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.169, allocations: 164.9 kB / 0.779 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/1.17, allocations: 105.9 kB / 0.7791 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/1.186, allocations: 6.436 MB / 0.7854 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00696/1.193, allocations: 3.074 MB / 0.7884 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02928/1.222, allocations: 23.09 MB / 0.811 GB, free: 97.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.234, allocations: 1.498 MB / 0.8124 GB, free: 97 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.235, allocations: 0.5995 MB / 0.813 GB, free: 97 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 20 (Tgen2.breakerStatusInInternal,L1to5.breakerStatusInternalB,L1to5.breakerStatusInternalA,$PRE.Tgen2.breakerStatusInInternal,$PRE.L1to5.breakerStatusInternalB,$PRE.L1to5.breakerStatusInternalA,Tgen2.breakerStatus,$PRE.Tgen2.breakerStatus,L1to5.breakerStatus,$PRE.L1to5.breakerStatus,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1724): * Single equations (assignments): 1718 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(335,0), (13,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003166/1.238, allocations: 1.143 MB / 0.8141 GB, free: 96.77 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003239/1.241, allocations: 1.896 MB / 0.816 GB, free: 96.03 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.255, allocations: 11.39 MB / 0.8271 GB, free: 95.14 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-05/1.255, allocations: 71.69 kB / 0.8272 GB, free: 95.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.255, allocations: 0 / 0.8272 GB, free: 95.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006052/1.261, allocations: 3.394 MB / 0.8305 GB, free: 94.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.263, allocations: 239.3 kB / 0.8307 GB, free: 94.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005321/1.268, allocations: 324.5 kB / 0.831 GB, free: 94.28 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.269, allocations: 1.155 MB / 0.8322 GB, free: 94.27 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01484/1.284, allocations: 10.58 MB / 0.8425 GB, free: 92.29 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01413/1.298, allocations: 12.36 MB / 0.8546 GB, free: 83.44 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003124/1.301, allocations: 2.79 MB / 0.8573 GB, free: 81.67 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005286/1.307, allocations: 4.944 MB / 0.8621 GB, free: 77.67 MB / 0.4949 GB Notification: Performance of Backend: time 3.51e-07/1.307, allocations: 3.375 kB / 0.8621 GB, free: 77.67 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01966/1.326, allocations: 13.89 MB / 0.8757 GB, free: 64.84 MB / 0.4949 GB Notification: Performance of SimCode: time 0.02366/1.35, allocations: 26.76 MB / 0.9018 GB, free: 38.04 MB / 0.4949 GB Notification: Performance of Templates: time 0.6357/1.986, allocations: 259.7 MB / 1.155 GB, free: 117.7 MB / 0.5262 GB " [Timeout remaining time 658] make -j1 -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.sim & ./PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow_res.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: 12.151107193902135]