Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001048/0.001048, 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.001497/0.001497, 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.9827/0.9827, allocations: 177.1 MB / 205 MB, free: 5.613 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.2321/0.2321, allocations: 29.42 MB / 290.9 MB, free: 2.418 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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.88e-05, allocations: 2.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004431/0.00445, allocations: 4.746 MB / 374.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.006091, allocations: 1.313 MB / 375.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.006305, allocations: 27.75 kB / 375.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.006686, allocations: 115.2 kB / 375.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.007286, allocations: 385.9 kB / 376.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.007493, allocations: 147.6 kB / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.008057, allocations: 0.7707 MB / 377.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.008239, allocations: 128.7 kB / 377.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.008839, allocations: 0.526 MB / 377.8 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.009146, allocations: 303.1 kB / 378.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.009188, allocations: 36 kB / 378.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.009244, allocations: 32 kB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.009383, allocations: 199.4 kB / 378.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.009518, allocations: 163.6 kB / 378.5 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.009855, allocations: 362.6 kB / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.009857, allocations: 0 / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009858, allocations: 0 / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.009865, allocations: 3.938 kB / 378.9 MB, free: 1.695 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0008546/0.01072, allocations: 0.8444 MB / 379.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.01075, allocations: 11.98 kB / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.01085, allocations: 84.61 kB / 379.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.01126, allocations: 414.7 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.01129, allocations: 33.31 kB / 380.2 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.01133, allocations: 36.38 kB / 380.3 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.01174, allocations: 385.5 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01175, allocations: 4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.01178, allocations: 16 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.01181, allocations: 20.98 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.01203, allocations: 173.8 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.01354, allocations: 2.122 MB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.01378, allocations: 178.2 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.01389, allocations: 83.34 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.01391, allocations: 8 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.01393, allocations: 41.38 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.01394, allocations: 0 / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007392/0.01467, allocations: 0.5695 MB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01471, allocations: 85.05 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.01496, allocations: 414.7 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.01498, allocations: 29.7 kB / 384.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01512, allocations: 346.8 kB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.01516, allocations: 83.33 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.01522, allocations: 79.81 kB / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01536, allocations: 0.5274 MB / 385.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.01543, allocations: 44.95 kB / 385.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.0156, allocations: 301.2 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.01588, allocations: 381.9 kB / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01588, allocations: 0 / 386.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003958/0.01628, allocations: 380.8 kB / 386.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0163, allocations: 8 kB / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.0163, allocations: 4 kB / 386.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.01646, allocations: 47.66 kB / 386.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01659, allocations: 79.84 kB / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008844/0.01748, allocations: 1.874 MB / 388.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01758, allocations: 23.92 kB / 388.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.0176, allocations: 20 kB / 388.5 MB, free: 7.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (44): * Single equations (assignments): 43 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.01771, allocations: 184.4 kB / 388.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.01774, allocations: 47.72 kB / 388.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.01792, allocations: 179.9 kB / 388.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01792, allocations: 3.984 kB / 388.9 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01793, allocations: 4 kB / 389 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01793, allocations: 4.031 kB / 389 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.01843, allocations: 0.6051 MB / 389.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.01844, allocations: 4 kB / 389.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.01855, allocations: 51.91 kB / 389.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01856, allocations: 0 / 389.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01857, allocations: 4 kB / 389.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01857, allocations: 192 / 389.6 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.01857, allocations: 11.94 kB / 389.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.01885, allocations: 395.3 kB / 390 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.01889, allocations: 39.75 kB / 390.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01891, allocations: 8 kB / 390.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.01897, allocations: 7.938 kB / 390.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.019, allocations: 19.91 kB / 390.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01901, allocations: 8 kB / 390.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.01916, allocations: 251.1 kB / 390.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01916, allocations: 4 kB / 390.3 MB, free: 5.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00027/0.01943, allocations: 88 kB / 390.4 MB, free: 5.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.363e-05/0.01952, allocations: 103.2 kB / 390.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.0199, allocations: 379.4 kB / 390.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.0199, allocations: 0 / 390.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.01997, allocations: 76.39 kB / 391 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.02033, allocations: 96.5 kB / 391.1 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.02148, allocations: 0.7827 MB / 391.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.02156, allocations: 141.2 kB / 392 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.02169, allocations: 67.34 kB / 392.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.02174, allocations: 32.5 kB / 392.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02174, allocations: 0 / 392.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of Templates: time 0.005832/0.02757, allocations: 3.777 MB / 395.9 MB, free: 15.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.1700875209644437]