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.001967/0.001967, allocations: 84.33 kB / 20.95 MB, free: 3.457 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.002347/0.002347, allocations: 157.7 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.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.316/0.316, allocations: 29.41 MB / 290.5 MB, free: 2.441 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.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 2.715e-06/2.715e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.509e-05, allocations: 9.547 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.009671/0.009706, allocations: 4.254 MB / 373.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.01227, allocations: 0.9077 MB / 374.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.01252, allocations: 19.81 kB / 374.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.01283, allocations: 59.48 kB / 374.1 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.01376, allocations: 250.5 kB / 374.4 MB, free: 5.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.01416, allocations: 103.7 kB / 374.5 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009082/0.01507, allocations: 0.4982 MB / 375 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.01538, allocations: 96.28 kB / 375.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007081/0.01609, allocations: 299 kB / 375.4 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006595/0.01675, allocations: 259.3 kB / 375.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.01682, allocations: 28 kB / 375.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.0169, allocations: 24 kB / 375.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.01716, allocations: 159.6 kB / 375.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.01739, allocations: 123.7 kB / 375.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006744/0.01807, allocations: 358.8 kB / 376.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01807, allocations: 3.938 kB / 376.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.01807, allocations: 0 / 376.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.01808, allocations: 0 / 376.3 MB, free: 3.863 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.001699/0.01978, allocations: 0.5955 MB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.01983, allocations: 11.98 kB / 376.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.02, allocations: 60.7 kB / 377 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.02085, allocations: 331.5 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.02089, allocations: 16.88 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.02097, allocations: 32.33 kB / 377.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/0.02183, allocations: 357 kB / 377.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.02185, allocations: 4 kB / 377.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.02189, allocations: 8 kB / 377.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.02205, allocations: 28.47 kB / 377.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.02265, allocations: 241.7 kB / 378 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.02519, allocations: 1.219 MB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.02571, allocations: 161 kB / 379.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.02593, allocations: 93.73 kB / 379.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.02597, allocations: 8.25 kB / 379.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.02601, allocations: 34.56 kB / 379.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.02601, allocations: 0 / 379.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001553/0.02756, allocations: 0.6216 MB / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.02765, allocations: 93.03 kB / 380.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.02802, allocations: 300.5 kB / 380.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.02805, allocations: 25.7 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.02824, allocations: 228.1 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.0283, allocations: 59.52 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.0284, allocations: 53.66 kB / 380.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.0286, allocations: 338.8 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.02873, allocations: 63.95 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.02897, allocations: 168.8 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.02934, allocations: 252.6 kB / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.02934, allocations: 0 / 381.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000612/0.02996, allocations: 341.3 kB / 382 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.02998, allocations: 7.938 kB / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.02999, allocations: 4 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.03023, allocations: 52.83 kB / 382 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.03042, allocations: 48.34 kB / 382.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.03211, allocations: 1.475 MB / 383.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.03226, allocations: 16.02 kB / 383.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.03228, allocations: 12 kB / 383.6 MB, free: 12.1 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.0002057/0.03249, allocations: 173.8 kB / 383.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.03256, allocations: 39.81 kB / 383.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.03304, allocations: 236.3 kB / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.03304, allocations: 4 kB / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.03305, allocations: 0 / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.03305, allocations: 0 / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.03399, allocations: 0.5464 MB / 384.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.03399, allocations: 0 / 384.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.0341, allocations: 23.94 kB / 384.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.03434, allocations: 72.7 kB / 384.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.03436, allocations: 4 kB / 384.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.03596, allocations: 1.467 MB / 386.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.03596, allocations: 4.031 kB / 386.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.03659, allocations: 413.8 kB / 386.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.03665, allocations: 23.84 kB / 386.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.03669, allocations: 11.98 kB / 386.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.03683, allocations: 4 kB / 386.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.03689, allocations: 23.84 kB / 386.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.0369, allocations: 4 kB / 386.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.03714, allocations: 211.1 kB / 386.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03714, allocations: 0 / 386.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.03754, allocations: 68 kB / 386.9 MB, free: 8.602 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 0.0001702/0.03771, allocations: 111.2 kB / 387 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.03835, allocations: 298.4 kB / 387.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.03835, allocations: 0 / 387.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.03875, allocations: 203.5 kB / 387.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.03927, allocations: 79.86 kB / 387.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.04059, allocations: 0.6704 MB / 388.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.04086, allocations: 203.5 kB / 388.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.04101, allocations: 46.95 kB / 388.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.04108, allocations: 24.48 kB / 388.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.04109, allocations: 8 kB / 388.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of Templates: time 0.008221/0.04931, allocations: 3.034 MB / 391.5 MB, free: 3.922 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.948885393911041]