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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 250.8 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1833/0.1833, allocations: 38.52 MB / 344.5 MB, free: 2.539 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,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=740,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 0.001979/0.001979, allocations: 67.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.409, allocations: 61.24 MB / 0.5306 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005033/0.414, allocations: 4.032 MB / 0.5345 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4153, allocations: 0.8822 MB / 0.5354 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.4154, allocations: 10.34 kB / 0.5354 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.4156, allocations: 42.61 kB / 0.5354 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.4161, allocations: 168.3 kB / 0.5356 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.4164, allocations: 91.83 kB / 0.5357 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.4168, allocations: 378.8 kB / 0.536 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.4169, allocations: 57.3 kB / 0.5361 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.4172, allocations: 157.5 kB / 0.5362 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.4175, allocations: 176.2 kB / 0.5364 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.4175, allocations: 17.88 kB / 0.5364 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.4176, allocations: 20.5 kB / 0.5364 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-05/0.4177, allocations: 81.86 kB / 0.5365 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.4178, allocations: 128.7 kB / 0.5366 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.4181, allocations: 261.6 kB / 0.5369 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4181, allocations: 1.094 kB / 0.5369 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4181, allocations: 0 / 0.5369 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4181, allocations: 0 / 0.5369 GB, free: 1.125 MB / 382.1 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.0008181/0.4189, allocations: 0.5672 MB / 0.5374 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.419, allocations: 12.86 kB / 0.5375 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.419, allocations: 29.75 kB / 0.5375 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.4195, allocations: 328.9 kB / 0.5378 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4195, allocations: 16.66 kB / 0.5378 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.4195, allocations: 22.53 kB / 0.5378 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.4199, allocations: 266.7 kB / 0.5381 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4199, allocations: 3.984 kB / 0.5381 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.42, allocations: 10.44 kB / 0.5381 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.42, allocations: 6.125 kB / 0.5381 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.4203, allocations: 164 kB / 0.5383 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.4221, allocations: 1.18 MB / 0.5394 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.4223, allocations: 69.45 kB / 0.5395 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.4223, allocations: 35.84 kB / 0.5395 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.4224, allocations: 0 / 0.5395 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.4224, allocations: 32.31 kB / 0.5395 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4224, allocations: 4 kB / 0.5396 GB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008279/0.4232, allocations: 413.8 kB / 0.5399 GB, free: 14.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.4233, allocations: 86.23 kB / 0.54 GB, free: 14.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.4236, allocations: 245.5 kB / 0.5403 GB, free: 14.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4236, allocations: 27.02 kB / 0.5403 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.4238, allocations: 199.4 kB / 0.5405 GB, free: 13.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.4238, allocations: 35.56 kB / 0.5405 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.4239, allocations: 47.81 kB / 0.5406 GB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.4241, allocations: 331.9 kB / 0.5409 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.4242, allocations: 26.58 kB / 0.5409 GB, free: 13.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4243, allocations: 131.4 kB / 0.541 GB, free: 13.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.4246, allocations: 165.2 kB / 0.5412 GB, free: 13.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4246, allocations: 1.719 kB / 0.5412 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002973/0.4249, allocations: 182 kB / 0.5414 GB, free: 13.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4249, allocations: 10.38 kB / 0.5414 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4249, allocations: 7.594 kB / 0.5414 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4249, allocations: 5.344 kB / 0.5414 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4251, allocations: 39.95 kB / 0.5414 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4251, allocations: 4.344 kB / 0.5414 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4252, allocations: 8.312 kB / 0.5414 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4252, allocations: 8.562 kB / 0.5414 GB, free: 12.99 MB / 398.1 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.0001536/0.4254, allocations: 150.6 kB / 0.5416 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4254, allocations: 20.08 kB / 0.5416 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.4256, allocations: 97.8 kB / 0.5417 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4256, allocations: 1.812 kB / 0.5417 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4256, allocations: 1.438 kB / 0.5417 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4256, allocations: 0 / 0.5417 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.4261, allocations: 429.7 kB / 0.5421 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4261, allocations: 1.5 kB / 0.5421 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.4262, allocations: 21.03 kB / 0.5421 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4262, allocations: 1.375 kB / 0.5421 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4262, allocations: 5.344 kB / 0.5421 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4263, allocations: 1.156 kB / 0.5421 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4263, allocations: 1.375 kB / 0.5421 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.4266, allocations: 227.8 kB / 0.5424 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.799e-05/0.4267, allocations: 98.52 kB / 0.5424 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.4267, allocations: 5.406 kB / 0.5425 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.4268, allocations: 5.281 kB / 0.5425 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.4268, allocations: 6.734 kB / 0.5425 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4268, allocations: 6.938 kB / 0.5425 GB, free: 12.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.427, allocations: 169.2 kB / 0.5426 GB, free: 11.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.427, allocations: 3.938 kB / 0.5426 GB, free: 11.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.4273, allocations: 40.03 kB / 0.5427 GB, free: 11.9 MB / 398.1 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.0001388/0.4274, allocations: 109.6 kB / 0.5428 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4276, allocations: 87.52 kB / 0.5429 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4276, allocations: 0 / 0.5429 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.4277, allocations: 27.52 kB / 0.5429 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.4282, allocations: 62.38 kB / 0.5429 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4292, allocations: 0.504 MB / 0.5434 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.4296, allocations: 0.7581 MB / 0.5442 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.411e-05/0.4297, allocations: 26.78 kB / 0.5442 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.4298, allocations: 19.44 kB / 0.5442 GB, free: 10.59 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4298, allocations: 4 kB / 0.5442 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Templates: time 0.005703/0.4355, allocations: 1.844 MB / 0.546 GB, free: 9.684 MB / 398.1 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.996504134498537]