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.001769/0.001769, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001985/0.001985, allocations: 169.3 kB / 24.28 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.53/1.53, allocations: 177.2 MB / 204.6 MB, free: 5.59 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.3094/0.3094, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 1.473e-06/1.473e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.274e-05, allocations: 6.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006786/0.006819, allocations: 4.424 MB / 373.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.008692, allocations: 0.9233 MB / 374.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.008877, allocations: 15.88 kB / 374.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.009126, allocations: 63.42 kB / 374.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007317/0.009858, allocations: 250.6 kB / 374.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.01014, allocations: 99.73 kB / 374.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.01082, allocations: 0.5098 MB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.01107, allocations: 92.3 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.01159, allocations: 299 kB / 375.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.01208, allocations: 263.3 kB / 375.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.01214, allocations: 20 kB / 375.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.0122, allocations: 24 kB / 375.9 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.01272, allocations: 163.6 kB / 376 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.01291, allocations: 123.7 kB / 376.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.01345, allocations: 362.8 kB / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01346, allocations: 0 / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01346, allocations: 0 / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.01347, allocations: 0 / 376.5 MB, free: 3.668 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.001358/0.01482, allocations: 0.7223 MB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.01487, allocations: 11.98 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01499, allocations: 60.7 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.01563, allocations: 318.4 kB / 377.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.01566, allocations: 16.88 kB / 377.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.01572, allocations: 28.33 kB / 377.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.01623, allocations: 307.7 kB / 377.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.01625, allocations: 7.938 kB / 377.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.01628, allocations: 8 kB / 378 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.01639, allocations: 32.45 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.01671, allocations: 125.9 kB / 378.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.01884, allocations: 1.554 MB / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.01921, allocations: 134.1 kB / 379.8 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.01938, allocations: 59.67 kB / 379.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.01942, allocations: 12 kB / 379.9 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.01946, allocations: 41.31 kB / 379.9 MB, free: 36 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.01947, allocations: 0 / 379.9 MB, free: 36 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001372/0.02084, allocations: 0.5113 MB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.02092, allocations: 85.11 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.02134, allocations: 382.2 kB / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.02138, allocations: 29.7 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.02161, allocations: 278.7 kB / 381.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.02168, allocations: 63.53 kB / 381.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.02178, allocations: 59.36 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000314/0.02209, allocations: 0.5235 MB / 381.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.02218, allocations: 35.97 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.0224, allocations: 179.3 kB / 382 MB, free: 13.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.02275, allocations: 243 kB / 382.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.02275, allocations: 4 kB / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004741/0.02323, allocations: 248.8 kB / 382.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.02325, allocations: 11.94 kB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.02326, allocations: 4 kB / 382.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.02351, allocations: 36.11 kB / 382.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.02368, allocations: 47.91 kB / 382.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.02556, allocations: 1.794 MB / 384.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.0257, allocations: 11.98 kB / 384.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.02573, allocations: 12.12 kB / 384.4 MB, free: 11.14 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.0002059/0.02593, allocations: 192.4 kB / 384.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.026, allocations: 39.81 kB / 384.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.02641, allocations: 174.2 kB / 384.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.02641, allocations: 0 / 384.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.02641, allocations: 0 / 384.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.02642, allocations: 4 kB / 384.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.02736, allocations: 0.5786 MB / 385.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02736, allocations: 0 / 385.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.02746, allocations: 24.03 kB / 385.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.02766, allocations: 47.56 kB / 385.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.02768, allocations: 4 kB / 385.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.02929, allocations: 1.798 MB / 387.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.0293, allocations: 4 kB / 387.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.02984, allocations: 382.5 kB / 387.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.0299, allocations: 31.75 kB / 387.7 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.02994, allocations: 7.984 kB / 387.7 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.03007, allocations: 8 kB / 387.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.03011, allocations: 15.91 kB / 387.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.03014, allocations: 8 kB / 387.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.03039, allocations: 242.9 kB / 388 MB, free: 7.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03039, allocations: 96 / 388 MB, free: 7.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.03077, allocations: 75.94 kB / 388 MB, free: 7.297 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.0001533/0.03092, allocations: 95.25 kB / 388.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.03154, allocations: 322.7 kB / 388.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03155, allocations: 4 kB / 388.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.03194, allocations: 252.1 kB / 388.7 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.03245, allocations: 67.12 kB / 388.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.03369, allocations: 0.6418 MB / 389.4 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.03394, allocations: 199.5 kB / 389.6 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.03408, allocations: 38.95 kB / 389.6 MB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.03414, allocations: 24.5 kB / 389.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03414, allocations: 0 / 389.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of Templates: time 0.008677/0.04282, allocations: 3.065 MB / 392.7 MB, free: 2.57 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","/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.8181519120698795]