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.001946/0.001946, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001996/0.001996, allocations: 165.6 kB / 24.27 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.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.2917/0.2917, allocations: 29.41 MB / 290.5 MB, free: 2.406 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.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.262e-06/1.262e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.729e-05, allocations: 5.547 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008117/0.008144, allocations: 5.547 MB / 374.4 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.01081, allocations: 1.301 MB / 375.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.01107, allocations: 27.75 kB / 375.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.01159, allocations: 139 kB / 375.9 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009227/0.01251, allocations: 393.9 kB / 376.3 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.01281, allocations: 127.8 kB / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009798/0.01379, allocations: 0.7707 MB / 377.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.01408, allocations: 136.6 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.01487, allocations: 462.5 kB / 377.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.0156, allocations: 367 kB / 378.1 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.687e-05/0.01569, allocations: 36 kB / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.01579, allocations: 36 kB / 378.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.01605, allocations: 207.4 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.01634, allocations: 175.6 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.01713, allocations: 0.5295 MB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01713, allocations: 0 / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01713, allocations: 0 / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.01714, allocations: 0 / 379.1 MB, free: 1.059 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.001496/0.01864, allocations: 0.8676 MB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01867, allocations: 11.98 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.01884, allocations: 84.61 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/0.01977, allocations: 439.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.01981, allocations: 25.38 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.01988, allocations: 48.3 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.02062, allocations: 429.5 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.02063, allocations: 0 / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.02067, allocations: 16 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.02071, allocations: 20.94 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.02116, allocations: 199.8 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.0244, allocations: 2.224 MB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.02489, allocations: 194.2 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.02515, allocations: 95.41 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.02517, allocations: 4 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.02522, allocations: 45.39 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.02522, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001394/0.02661, allocations: 0.6042 MB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.02669, allocations: 85.11 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.02723, allocations: 478.5 kB / 384.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.02726, allocations: 33.7 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.02757, allocations: 362.7 kB / 385.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.02765, allocations: 83.33 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.02779, allocations: 99.8 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003266/0.02812, allocations: 0.5509 MB / 386 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.02824, allocations: 56.97 kB / 386.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.02863, allocations: 339.8 kB / 386.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.02919, allocations: 432.8 kB / 386.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.0292, allocations: 4 kB / 386.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007411/0.02994, allocations: 409.1 kB / 387.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.02996, allocations: 8 kB / 387.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.02997, allocations: 12.09 kB / 387.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.03021, allocations: 47.66 kB / 387.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.03048, allocations: 83.84 kB / 387.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.03254, allocations: 1.932 MB / 389.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.03279, allocations: 19.95 kB / 389.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.03283, allocations: 24 kB / 389.4 MB, free: 6.023 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0002713/0.03311, allocations: 204.4 kB / 389.6 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.03319, allocations: 51.72 kB / 389.6 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.03358, allocations: 191.4 kB / 389.8 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.03358, allocations: 4 kB / 389.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.03358, allocations: 0 / 389.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.03359, allocations: 0 / 389.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.03466, allocations: 0.6833 MB / 390.5 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.03466, allocations: 0 / 390.5 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.0349, allocations: 47.97 kB / 390.5 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.03491, allocations: 0 / 390.5 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.03492, allocations: 4 kB / 390.5 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.03492, allocations: 0 / 390.5 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.03493, allocations: 11.88 kB / 390.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.03545, allocations: 428.6 kB / 391 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.03556, allocations: 47.69 kB / 391 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.0356, allocations: 8.094 kB / 391 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.03574, allocations: 4 kB / 391 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.03579, allocations: 27.84 kB / 391 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.03581, allocations: 8.125 kB / 391.1 MB, free: 4.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003025/0.03611, allocations: 287.1 kB / 391.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03611, allocations: 0 / 391.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.0366, allocations: 92 kB / 391.4 MB, free: 3.855 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 0.0001383/0.03674, allocations: 103.2 kB / 391.5 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007211/0.03746, allocations: 414.3 kB / 391.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.03746, allocations: 0 / 391.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.03761, allocations: 90.19 kB / 392 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.03834, allocations: 100.3 kB / 392.1 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.03972, allocations: 0.7867 MB / 392.9 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.04002, allocations: 249.7 kB / 393.1 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.04023, allocations: 68.12 kB / 393.2 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.0403, allocations: 36.44 kB / 393.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0403, allocations: 0 / 393.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of Templates: time 0.009858/0.05015, allocations: 3.608 MB / 396.9 MB, free: 14.42 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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: 4.813394643017091]