Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001429/0.001429, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001588/0.001588, allocations: 165.3 kB / 24.27 MB, free: 144 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3285/0.3285, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.06e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.007141/0.007172, allocations: 3.87 MB / 372.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.009227, allocations: 0.8454 MB / 373.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.00948, allocations: 15.88 kB / 373.6 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.009719, allocations: 51.56 kB / 373.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.01037, allocations: 174.9 kB / 373.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.01062, allocations: 79.83 kB / 373.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.01119, allocations: 382.5 kB / 374.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.01137, allocations: 60.67 kB / 374.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.01192, allocations: 239.2 kB / 374.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.01227, allocations: 151.5 kB / 374.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.01232, allocations: 16 kB / 374.8 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.01238, allocations: 16 kB / 374.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.0125, allocations: 87.72 kB / 374.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.01266, allocations: 79.83 kB / 374.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.01306, allocations: 251.2 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01306, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01306, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.01307, allocations: 0 / 375.2 MB, free: 4.996 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001053/0.01412, allocations: 0.4983 MB / 375.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01416, allocations: 11.98 kB / 375.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.01427, allocations: 44.75 kB / 375.7 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.01481, allocations: 273.6 kB / 376 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.01483, allocations: 16.88 kB / 376 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.01488, allocations: 16.38 kB / 376 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.01534, allocations: 274.8 kB / 376.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01535, allocations: 0 / 376.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.01538, allocations: 12 kB / 376.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01539, allocations: 8 kB / 376.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.01571, allocations: 163.6 kB / 376.5 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.01723, allocations: 1.06 MB / 377.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.0174, allocations: 77.05 kB / 377.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.01747, allocations: 29.81 kB / 377.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.01749, allocations: 8 kB / 377.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.01753, allocations: 30.56 kB / 377.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.01753, allocations: 0 / 377.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000876/0.01841, allocations: 344.2 kB / 378 MB, free: 1.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/0.0185, allocations: 81.11 kB / 378.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.01902, allocations: 233.8 kB / 378.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.01905, allocations: 29.7 kB / 378.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.01923, allocations: 191.9 kB / 378.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01927, allocations: 31.88 kB / 378.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.01935, allocations: 45.66 kB / 378.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.01957, allocations: 338.8 kB / 378.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.01963, allocations: 20 kB / 379 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.01979, allocations: 120.9 kB / 379.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.02006, allocations: 176.6 kB / 379.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.02006, allocations: 0 / 379.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003325/0.02039, allocations: 185.2 kB / 379.4 MB, free: 364 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.02041, allocations: 8 kB / 379.4 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.02042, allocations: 4 kB / 379.5 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.02044, allocations: 4 kB / 379.5 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.02062, allocations: 39.92 kB / 379.5 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.02063, allocations: 4.438 kB / 379.5 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.02073, allocations: 12.38 kB / 379.5 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.02075, allocations: 15.98 kB / 379.5 MB, free: 276 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.02091, allocations: 157.6 kB / 379.7 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.02096, allocations: 23.86 kB / 379.7 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.02118, allocations: 103.4 kB / 379.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02118, allocations: 0 / 379.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.02118, allocations: 0 / 379.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.02119, allocations: 7.938 kB / 379.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.02168, allocations: 343.2 kB / 380.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02168, allocations: 0 / 380.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.02178, allocations: 19.98 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.02178, allocations: 4.031 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.02179, allocations: 0 / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.02179, allocations: 7.938 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02179, allocations: 0 / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.0221, allocations: 237.2 kB / 380.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.02213, allocations: 15.86 kB / 380.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.02216, allocations: 3.984 kB / 380.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.02226, allocations: 7.938 kB / 380.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.02228, allocations: 7.938 kB / 380.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.02228, allocations: 4 kB / 380.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.02245, allocations: 169.3 kB / 380.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02245, allocations: 0 / 380.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000314/0.02277, allocations: 40 kB / 380.7 MB, free: 15.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001239/0.02289, allocations: 95.25 kB / 380.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.02309, allocations: 91.7 kB / 380.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02309, allocations: 0.875 kB / 380.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.02315, allocations: 28 kB / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.02367, allocations: 55.55 kB / 380.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009628/0.02464, allocations: 458.7 kB / 381.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.02482, allocations: 146.2 kB / 381.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.909e-05/0.02492, allocations: 30.27 kB / 381.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.02498, allocations: 24.5 kB / 381.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02498, allocations: 0 / 381.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Templates: time 0.005601/0.03058, allocations: 1.796 MB / 383.4 MB, free: 12.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.783415255020373]