Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001241/0.001241, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001337/0.001337, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.141/1.141, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2636/0.2636, allocations: 29.42 MB / 291.2 MB, free: 2.477 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.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.394e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004432/0.004456, allocations: 3.978 MB / 374.1 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.005679, allocations: 0.9272 MB / 375 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.005857, allocations: 19.81 kB / 375 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.006047, allocations: 59.48 kB / 375.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.006518, allocations: 238.7 kB / 375.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.006701, allocations: 99.73 kB / 375.4 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.007083, allocations: 0.5099 MB / 375.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.007279, allocations: 100.2 kB / 376 MB, free: 4.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.00768, allocations: 339 kB / 376.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.00796, allocations: 231.4 kB / 376.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.007996, allocations: 20 kB / 376.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.008039, allocations: 24 kB / 376.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.008165, allocations: 159.6 kB / 376.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.008257, allocations: 115.8 kB / 376.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.008527, allocations: 266.9 kB / 377.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.008529, allocations: 4 kB / 377.2 MB, free: 3.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00853, allocations: 0 / 377.2 MB, free: 3.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.008536, allocations: 0 / 377.2 MB, free: 3.645 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001091/0.009627, allocations: 0.668 MB / 377.8 MB, free: 2.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.009668, allocations: 15.98 kB / 377.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.009733, allocations: 56.7 kB / 377.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.01004, allocations: 301.9 kB / 378.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.01006, allocations: 16.88 kB / 378.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.0101, allocations: 28.38 kB / 378.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.01037, allocations: 267.6 kB / 378.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01038, allocations: 0 / 378.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.0104, allocations: 12 kB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.01046, allocations: 16.48 kB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.01057, allocations: 91.28 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.01156, allocations: 1.437 MB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.01177, allocations: 126 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.01186, allocations: 55.41 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.01188, allocations: 4 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.0119, allocations: 33.39 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.0119, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007104/0.01261, allocations: 388 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.01265, allocations: 81.11 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01284, allocations: 330.1 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.01286, allocations: 25.7 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01298, allocations: 274.7 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.01302, allocations: 59.52 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.01307, allocations: 59.23 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.01323, allocations: 0.5195 MB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.01327, allocations: 24.11 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01337, allocations: 155.3 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.01353, allocations: 215.1 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01353, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002439/0.01378, allocations: 233 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.01379, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.0138, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.01393, allocations: 31.61 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.01403, allocations: 47.91 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.01548, allocations: 1.745 MB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.01554, allocations: 8 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01555, allocations: 8 kB / 384.4 MB, free: 11.79 MB / 362.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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.01566, allocations: 172.5 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.01569, allocations: 43.67 kB / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.01588, allocations: 150.7 kB / 384.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01588, allocations: 4 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01589, allocations: 4.062 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01589, allocations: 0 / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.01632, allocations: 469.3 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01632, allocations: 4 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.01638, allocations: 27.92 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.01649, allocations: 39.61 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.0165, allocations: 3.984 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007637/0.01726, allocations: 1.744 MB / 387.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01727, allocations: 4 kB / 387.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.01752, allocations: 343 kB / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01754, allocations: 23.81 kB / 387.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01756, allocations: 4.156 kB / 387.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.01762, allocations: 8 kB / 387.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.01764, allocations: 15.97 kB / 387.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.01765, allocations: 4 kB / 387.5 MB, free: 8.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.544e-05/0.01775, allocations: 214.9 kB / 387.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01775, allocations: 0 / 387.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.01797, allocations: 68 kB / 387.8 MB, free: 8.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.232e-05/0.01806, allocations: 103.1 kB / 387.9 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.01837, allocations: 289.8 kB / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01837, allocations: 0 / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.01854, allocations: 238.3 kB / 388.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.01886, allocations: 81.72 kB / 388.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.01986, allocations: 0.6422 MB / 389.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.01993, allocations: 116.3 kB / 389.2 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.02001, allocations: 26.97 kB / 389.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.02014, allocations: 122.2 kB / 389.4 MB, free: 6.566 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02014, allocations: 0 / 389.4 MB, free: 6.566 MB / 362.7 MB Notification: Performance of Templates: time 0.0057/0.02584, allocations: 3.262 MB / 392.6 MB, free: 3.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.3724056729115546]