Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.001442/0.001442, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001529/0.001529, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.482/1.482, allocations: 177.2 MB / 204.9 MB, free: 9.031 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.1822/0.1822, allocations: 29.42 MB / 290.7 MB, free: 3.297 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.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [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.002564/0.002564, allocations: 59.91 kB / 431.2 MB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3737, allocations: 62.45 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004984/0.3787, allocations: 3.994 MB / 497.6 MB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3805, allocations: 0.873 MB / 498.5 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3808, allocations: 17.28 kB / 498.5 MB, free: 34.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.3812, allocations: 51.64 kB / 498.6 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.382, allocations: 182.6 kB / 498.7 MB, free: 34.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.3823, allocations: 90.72 kB / 498.8 MB, free: 34.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000591/0.3829, allocations: 404.1 kB / 499.2 MB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.3832, allocations: 81.09 kB / 499.3 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.3837, allocations: 192.9 kB / 499.5 MB, free: 34.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.3842, allocations: 210.8 kB / 499.7 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.3842, allocations: 21.59 kB / 499.7 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.3843, allocations: 18.31 kB / 499.7 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3845, allocations: 108.6 kB / 499.9 MB, free: 33.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.3847, allocations: 123.8 kB / 500 MB, free: 33.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.3853, allocations: 321.2 kB / 0.4886 GB, free: 33.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3853, allocations: 2.938 kB / 0.4886 GB, free: 33.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3853, allocations: 0 / 0.4886 GB, free: 33.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3853, allocations: 0 / 0.4886 GB, free: 33.73 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001464/0.3868, allocations: 0.5553 MB / 0.4891 GB, free: 33.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.3868, allocations: 13.17 kB / 0.4891 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.3869, allocations: 36.38 kB / 0.4892 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.3875, allocations: 275.1 kB / 0.4894 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3875, allocations: 22.5 kB / 0.4894 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3876, allocations: 24.78 kB / 0.4895 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.3881, allocations: 315.8 kB / 0.4898 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3881, allocations: 3.938 kB / 0.4898 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.3881, allocations: 11.03 kB / 0.4898 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3881, allocations: 6 kB / 0.4898 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.3885, allocations: 216 kB / 0.49 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3899, allocations: 1.227 MB / 0.4912 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.3902, allocations: 132.9 kB / 0.4913 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.3903, allocations: 60.83 kB / 0.4914 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3903, allocations: 3.938 kB / 0.4914 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3903, allocations: 33.44 kB / 0.4914 GB, free: 31.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.3903, allocations: 0 / 0.4914 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006955/0.391, allocations: 375.1 kB / 0.4918 GB, free: 31.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3911, allocations: 77.11 kB / 0.4918 GB, free: 31.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3913, allocations: 270.4 kB / 0.4921 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3913, allocations: 25.7 kB / 0.4921 GB, free: 31.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.3914, allocations: 208.1 kB / 0.4923 GB, free: 31.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.3914, allocations: 49.14 kB / 0.4924 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.3915, allocations: 47.75 kB / 0.4924 GB, free: 30.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.3915, allocations: 339.6 kB / 0.4927 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.3916, allocations: 58.08 kB / 0.4928 GB, free: 30.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3917, allocations: 151.1 kB / 0.4929 GB, free: 30.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3919, allocations: 235.1 kB / 0.4932 GB, free: 30.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3919, allocations: 0 / 0.4932 GB, free: 30.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002924/0.3922, allocations: 241.3 kB / 0.4934 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3922, allocations: 6.812 kB / 0.4934 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3922, allocations: 10.62 kB / 0.4934 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3923, allocations: 7.109 kB / 0.4934 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3924, allocations: 53.81 kB / 0.4935 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3925, allocations: 10.38 kB / 0.4935 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3926, allocations: 6.766 kB / 0.4935 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3926, allocations: 13.62 kB / 0.4935 GB, free: 30.12 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 (25): * Single equations (assignments): 25 * 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.0001663/0.3928, allocations: 162.7 kB / 0.4936 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.3928, allocations: 21.7 kB / 0.4937 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3931, allocations: 199.8 kB / 0.4939 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3931, allocations: 4 kB / 0.4939 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3931, allocations: 3.125 kB / 0.4939 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3931, allocations: 0 / 0.4939 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.3937, allocations: 486.6 kB / 0.4943 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3937, allocations: 0 / 0.4943 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3938, allocations: 28.75 kB / 0.4944 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3938, allocations: 3.125 kB / 0.4944 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3938, allocations: 4 kB / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3938, allocations: 3.25 kB / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3938, allocations: 0 / 0.4944 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.3941, allocations: 300.7 kB / 0.4947 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.3941, allocations: 30.33 kB / 0.4947 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3942, allocations: 3.531 kB / 0.4947 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3943, allocations: 7.516 kB / 0.4947 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3943, allocations: 17.3 kB / 0.4947 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3943, allocations: 2.625 kB / 0.4947 GB, free: 29.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3945, allocations: 185.6 kB / 0.4949 GB, free: 29.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 0 / 0.4949 GB, free: 29.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3948, allocations: 49.41 kB / 0.4949 GB, free: 29.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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 8.618e-05/0.3949, allocations: 99.12 kB / 0.495 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3951, allocations: 153.2 kB / 0.4952 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3951, allocations: 0 / 0.4952 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.3952, allocations: 70.06 kB / 0.4952 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.3957, allocations: 66.39 kB / 0.4953 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.3964, allocations: 0.5408 MB / 0.4958 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3966, allocations: 170.8 kB / 0.496 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3967, allocations: 42.86 kB / 0.496 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.3967, allocations: 31.38 kB / 0.4961 GB, free: 28.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3967, allocations: 0 / 0.4961 GB, free: 28.54 MB / 446.1 MB Notification: Performance of Templates: time 0.005793/0.4025, allocations: 2.238 MB / 0.4983 GB, free: 28.24 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.03503049898427]