Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001196/0.001196, 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.001583/0.001583, allocations: 165.8 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.174/1.174, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3528/0.3528, allocations: 29.43 MB / 291.2 MB, free: 2.391 MB / 266.7 MB " [Timeout remaining time 179] 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.69e-05, allocations: 2.312 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005793/0.00583, allocations: 3.889 MB / 374 MB, free: 6.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.007993, allocations: 0.9038 MB / 374.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.008325, allocations: 19.81 kB / 374.9 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.008573, allocations: 43.56 kB / 375 MB, free: 5.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007447/0.009318, allocations: 194.8 kB / 375.2 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.009625, allocations: 83.81 kB / 375.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.01024, allocations: 418.3 kB / 375.7 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.01049, allocations: 70.7 kB / 375.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.01126, allocations: 283.2 kB / 376 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.01158, allocations: 147.6 kB / 376.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.01162, allocations: 20 kB / 376.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.01166, allocations: 20 kB / 376.2 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.01177, allocations: 95.72 kB / 376.3 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.01188, allocations: 87.77 kB / 376.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004942/0.01237, allocations: 207.1 kB / 376.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.01238, allocations: 0 / 376.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01238, allocations: 0 / 376.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.0124, allocations: 0 / 376.6 MB, free: 4.199 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001129/0.01353, allocations: 0.6176 MB / 377.2 MB, free: 3.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.01359, allocations: 15.98 kB / 377.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.0137, allocations: 56.64 kB / 377.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.0142, allocations: 278.1 kB / 377.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.01424, allocations: 16.88 kB / 377.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.01429, allocations: 16.38 kB / 377.6 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.01515, allocations: 238.3 kB / 377.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.01517, allocations: 4 kB / 377.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.0152, allocations: 15.98 kB / 377.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01522, allocations: 8 kB / 377.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.01537, allocations: 72.94 kB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.01707, allocations: 1.419 MB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.01739, allocations: 102.1 kB / 379.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.01745, allocations: 31.42 kB / 379.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.01747, allocations: 0 / 379.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.01751, allocations: 45.39 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.01752, allocations: 0 / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008096/0.01832, allocations: 297.7 kB / 379.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.01839, allocations: 81.11 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.01866, allocations: 292.1 kB / 380.1 MB, free: 332 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01868, allocations: 29.7 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.01886, allocations: 250.8 kB / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.01893, allocations: 39.69 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.01901, allocations: 55.36 kB / 380.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.01921, allocations: 0.5118 MB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.01926, allocations: 15.98 kB / 381 MB, free: 15.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.0194, allocations: 154 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.01963, allocations: 199 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01963, allocations: 3.938 kB / 381.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002914/0.01992, allocations: 185.3 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.01995, allocations: 4 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.01996, allocations: 4 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.01999, allocations: 8 kB / 381.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.02014, allocations: 43.91 kB / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.02015, allocations: 4 kB / 381.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.02026, allocations: 8 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.02028, allocations: 8 kB / 381.6 MB, free: 14.66 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 (24): * Single equations (assignments): 24 * 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.0001497/0.02043, allocations: 176.7 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.02048, allocations: 27.86 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.02071, allocations: 107.4 kB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02071, allocations: 0 / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.02072, allocations: 0 / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.02072, allocations: 0 / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.02126, allocations: 396.6 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02127, allocations: 0 / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.02138, allocations: 23.98 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.02139, allocations: 0 / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.0214, allocations: 12.03 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.02141, allocations: 0 / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.02141, allocations: 0 / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.02177, allocations: 301.8 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.02182, allocations: 19.86 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.02185, allocations: 0 / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.02193, allocations: 8 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.02196, allocations: 7.984 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.02198, allocations: 7.984 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.02212, allocations: 189.1 kB / 382.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02212, allocations: 3.938 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.02248, allocations: 48.03 kB / 382.9 MB, free: 13.28 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 (13): * Single equations (assignments): 12 * 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.0001693/0.02265, allocations: 111.1 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.02288, allocations: 87.44 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.02288, allocations: 0 / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.02294, allocations: 36.48 kB / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.02345, allocations: 56.58 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.02497, allocations: 0.506 MB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.02508, allocations: 96.3 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.02523, allocations: 34.27 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.02539, allocations: 114.2 kB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.074e-06/0.02539, allocations: 4 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.007323/0.03271, allocations: 2.229 MB / 386.2 MB, free: 9.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.590734072960913]