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.001703/0.001703, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002099/0.002099, allocations: 163.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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.547/1.547, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 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.1806/0.1806, allocations: 29.43 MB / 290.7 MB, free: 3.25 MB / 270.1 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,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=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 59.91 kB / 431.2 MB, free: 3.195 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 62.44 MB / 493.6 MB, free: 37.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005406/0.3747, allocations: 4.008 MB / 497.6 MB, free: 35.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.376, allocations: 0.8841 MB / 498.5 MB, free: 34.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3762, allocations: 14.47 kB / 498.5 MB, free: 34.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.3764, allocations: 51.75 kB / 498.6 MB, free: 34.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.3768, allocations: 184.4 kB / 498.8 MB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.377, allocations: 88.44 kB / 498.9 MB, free: 34.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.3774, allocations: 396.8 kB / 499.3 MB, free: 34.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.3776, allocations: 77.38 kB / 499.3 MB, free: 34.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.3779, allocations: 192.1 kB / 499.5 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3782, allocations: 189.8 kB / 499.7 MB, free: 33.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.3783, allocations: 19.5 kB / 499.7 MB, free: 33.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.3783, allocations: 19.34 kB / 499.7 MB, free: 33.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.3784, allocations: 87.42 kB / 499.8 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3785, allocations: 119.1 kB / 499.9 MB, free: 33.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.3788, allocations: 294.4 kB / 0.4885 GB, free: 33.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3788, allocations: 0 / 0.4885 GB, free: 33.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3788, allocations: 3 kB / 0.4885 GB, free: 33.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3789, allocations: 0 / 0.4885 GB, free: 33.65 MB / 446.1 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.0008934/0.3798, allocations: 0.5232 MB / 0.489 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3798, allocations: 17.48 kB / 0.489 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.3798, allocations: 32.66 kB / 0.4891 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.3803, allocations: 279.5 kB / 0.4893 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3803, allocations: 19 kB / 0.4893 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.3804, allocations: 24.5 kB / 0.4894 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.3807, allocations: 292.7 kB / 0.4897 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3807, allocations: 0 / 0.4897 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3808, allocations: 11.5 kB / 0.4897 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3808, allocations: 10.14 kB / 0.4897 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.381, allocations: 182.9 kB / 0.4898 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.382, allocations: 1.11 MB / 0.4909 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.3823, allocations: 101.3 kB / 0.491 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.3824, allocations: 41.61 kB / 0.4911 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3824, allocations: 3.031 kB / 0.4911 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3824, allocations: 41.84 kB / 0.4911 GB, free: 31.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3824, allocations: 0 / 0.4911 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007418/0.3832, allocations: 421.2 kB / 0.4915 GB, free: 31.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3832, allocations: 80.27 kB / 0.4916 GB, free: 31.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3834, allocations: 247.9 kB / 0.4918 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3834, allocations: 33.64 kB / 0.4919 GB, free: 31.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.3835, allocations: 208.2 kB / 0.4921 GB, free: 30.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3835, allocations: 37.55 kB / 0.4921 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.3836, allocations: 45.25 kB / 0.4921 GB, free: 30.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.3836, allocations: 339.8 kB / 0.4925 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.3837, allocations: 38.3 kB / 0.4925 GB, free: 30.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-05/0.3838, allocations: 131.6 kB / 0.4926 GB, free: 30.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.384, allocations: 184.6 kB / 0.4928 GB, free: 30.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.384, allocations: 3.188 kB / 0.4928 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002602/0.3842, allocations: 210.5 kB / 0.493 GB, free: 30.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3842, allocations: 6 kB / 0.493 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3842, allocations: 3.219 kB / 0.493 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3843, allocations: 5.969 kB / 0.493 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3844, allocations: 45.41 kB / 0.4931 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3844, allocations: 2.875 kB / 0.4931 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3845, allocations: 9.781 kB / 0.4931 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3845, allocations: 12.22 kB / 0.4931 GB, free: 30.09 MB / 446.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 (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.0001004/0.3846, allocations: 163.8 kB / 0.4932 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3847, allocations: 21.61 kB / 0.4933 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3849, allocations: 135.8 kB / 0.4934 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3849, allocations: 2.844 kB / 0.4934 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3849, allocations: 0 / 0.4934 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3849, allocations: 0 / 0.4934 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.3853, allocations: 413 kB / 0.4938 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3853, allocations: 3.031 kB / 0.4938 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3854, allocations: 22.34 kB / 0.4938 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.3854, allocations: 0 / 0.4938 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3854, allocations: 7.031 kB / 0.4938 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3854, allocations: 3.516 kB / 0.4938 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3854, allocations: 3.938 kB / 0.4938 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3857, allocations: 285.6 kB / 0.4941 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.3857, allocations: 25.64 kB / 0.4941 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3858, allocations: 2.844 kB / 0.4941 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3859, allocations: 4 kB / 0.4941 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.3859, allocations: 13.64 kB / 0.4941 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3859, allocations: 2.844 kB / 0.4941 GB, free: 29.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.386, allocations: 177.2 kB / 0.4943 GB, free: 29.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.386, allocations: 4.062 kB / 0.4943 GB, free: 29.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.3863, allocations: 45.84 kB / 0.4944 GB, free: 29.16 MB / 446.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 (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 7.247e-05/0.3864, allocations: 91.41 kB / 0.4944 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.3866, allocations: 106.3 kB / 0.4945 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3866, allocations: 0.875 kB / 0.4945 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.3867, allocations: 39.98 kB / 0.4946 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.3871, allocations: 66.06 kB / 0.4946 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.3879, allocations: 0.554 MB / 0.4952 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.388, allocations: 158 kB / 0.4953 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.562e-05/0.3881, allocations: 44.09 kB / 0.4954 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.3881, allocations: 25.03 kB / 0.4954 GB, free: 28.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3881, allocations: 0 / 0.4954 GB, free: 28.53 MB / 446.1 MB Notification: Performance of Templates: time 0.005277/0.3934, allocations: 2.044 MB / 0.4974 GB, free: 28.25 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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: 5.154922646936029]