Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008742/0.0008743, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007099/0.0007097, allocations: 102.8 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2758/0.2758, allocations: 38.18 MB / 383.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 11.98 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2724, allocations: 59.15 MB / 0.5007 GB, free: 39.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006227/0.2787, allocations: 7.05 MB / 0.5076 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.2841, allocations: 7.868 MB / 0.5153 GB, free: 29.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.2847, allocations: 15.56 kB / 0.5153 GB, free: 29.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.2851, allocations: 130.3 kB / 0.5154 GB, free: 29.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.2873, allocations: 1.052 MB / 0.5164 GB, free: 28.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.2879, allocations: 276.7 kB / 0.5167 GB, free: 28.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2898, allocations: 2.536 MB / 0.5192 GB, free: 28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.2902, allocations: 346.8 kB / 0.5195 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.2909, allocations: 475.7 kB / 0.5199 GB, free: 27.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006959/0.2916, allocations: 0.5958 MB / 0.5205 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.2917, allocations: 21.25 kB / 0.5205 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.2936, allocations: 1.179 MB / 0.5217 GB, free: 26.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.294, allocations: 251.3 kB / 0.5219 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.2942, allocations: 248 kB / 0.5222 GB, free: 26.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2952, allocations: 0.8781 MB / 0.523 GB, free: 26.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2952, allocations: 0 / 0.523 GB, free: 26.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2953, allocations: 0 / 0.523 GB, free: 26.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2953, allocations: 0 / 0.523 GB, free: 26.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0007844/0.2961, allocations: 0.7192 MB / 0.5237 GB, free: 25.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2961, allocations: 8.75 kB / 0.5237 GB, free: 25.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.2974, allocations: 129.2 kB / 0.5239 GB, free: 25.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2978, allocations: 331.9 kB / 0.5242 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.2978, allocations: 31.31 kB / 0.5242 GB, free: 25.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.2978, allocations: 38.86 kB / 0.5242 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.2985, allocations: 0.5873 MB / 0.5248 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2985, allocations: 6.531 kB / 0.5248 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.2985, allocations: 20.98 kB / 0.5248 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.2986, allocations: 33.3 kB / 0.5249 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.299, allocations: 382.6 kB / 0.5252 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3007, allocations: 2.611 MB / 0.5278 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.3012, allocations: 427.1 kB / 0.5282 GB, free: 22.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3015, allocations: 214.6 kB / 0.5284 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3015, allocations: 7.344 kB / 0.5284 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3015, allocations: 45.47 kB / 0.5285 GB, free: 22.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.3015, allocations: 0 / 0.5285 GB, free: 22.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001387/0.3029, allocations: 0.7643 MB / 0.5292 GB, free: 22.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3029, allocations: 110.1 kB / 0.5293 GB, free: 22.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3032, allocations: 320.6 kB / 0.5296 GB, free: 21.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3032, allocations: 32.95 kB / 0.5296 GB, free: 21.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.3033, allocations: 246.7 kB / 0.5299 GB, free: 21.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.3034, allocations: 115.7 kB / 0.53 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.3034, allocations: 7.062 kB / 0.53 GB, free: 21.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.3035, allocations: 349.5 kB / 0.5303 GB, free: 21.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3036, allocations: 124.3 kB / 0.5304 GB, free: 21.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.3038, allocations: 277.8 kB / 0.5307 GB, free: 20.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.3042, allocations: 455 kB / 0.5311 GB, free: 20.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3042, allocations: 0 / 0.5311 GB, free: 20.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006473/0.3049, allocations: 0.5644 MB / 0.5317 GB, free: 20.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3049, allocations: 6.344 kB / 0.5317 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3049, allocations: 5.719 kB / 0.5317 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.3052, allocations: 116.5 kB / 0.5318 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3054, allocations: 77.45 kB / 0.5319 GB, free: 20.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.3072, allocations: 2.347 MB / 0.5342 GB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3075, allocations: 43.62 kB / 0.5342 GB, free: 18.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3075, allocations: 19 kB / 0.5342 GB, free: 18.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.3077, allocations: 206.6 kB / 0.5344 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.3077, allocations: 38.5 kB / 0.5345 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.3078, allocations: 54.64 kB / 0.5345 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3078, allocations: 3.094 kB / 0.5345 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3078, allocations: 3.031 kB / 0.5345 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3078, allocations: 0 / 0.5345 GB, free: 18.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.3088, allocations: 0.9424 MB / 0.5355 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3088, allocations: 3.219 kB / 0.5355 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.3089, allocations: 31.69 kB / 0.5355 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.3091, allocations: 106.7 kB / 0.5356 GB, free: 17.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3092, allocations: 7.219 kB / 0.5356 GB, free: 17.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.3108, allocations: 2.348 MB / 0.5379 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3108, allocations: 3.938 kB / 0.5379 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.3114, allocations: 0.629 MB / 0.5385 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.3114, allocations: 109.1 kB / 0.5386 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3115, allocations: 10.22 kB / 0.5386 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.3117, allocations: 8 kB / 0.5386 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.3117, allocations: 26.41 kB / 0.5387 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3117, allocations: 16.88 kB / 0.5387 GB, free: 15.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3119, allocations: 218.6 kB / 0.5389 GB, free: 15.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3119, allocations: 0 / 0.5389 GB, free: 15.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.3124, allocations: 164.2 kB / 0.539 GB, free: 15.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.158e-05/0.3125, allocations: 118.7 kB / 0.5392 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.3132, allocations: 0.5034 MB / 0.5396 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3132, allocations: 320 / 0.5396 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.3135, allocations: 339 kB / 0.54 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3141, allocations: 58.92 kB / 0.54 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.315, allocations: 0.9996 MB / 0.541 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3153, allocations: 0.8852 MB / 0.5419 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.3155, allocations: 69.38 kB / 0.5419 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.3155, allocations: 24.81 kB / 0.542 GB, free: 13.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3155, allocations: 0 / 0.542 GB, free: 13.29 MB / 378.7 MB Notification: Performance of Templates: time 0.005872/0.3214, allocations: 3.457 MB / 0.5453 GB, free: 13.02 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches