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.001215/0.001215, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001295/0.001295, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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 0.9619/0.9619, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1191/0.1191, allocations: 29.42 MB / 292 MB, free: 2.656 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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=741,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=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.943e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003754/0.003774, allocations: 3.878 MB / 374.8 MB, free: 28.44 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.007823, allocations: 0.8957 MB / 375.7 MB, free: 27.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.007977, allocations: 19.81 kB / 375.7 MB, free: 27.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.00817, allocations: 43.62 kB / 375.7 MB, free: 27.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.008552, allocations: 198.8 kB / 375.9 MB, free: 27.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.008717, allocations: 87.75 kB / 376 MB, free: 27.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.009017, allocations: 418.4 kB / 376.4 MB, free: 26.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.009181, allocations: 78.69 kB / 376.5 MB, free: 26.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.009492, allocations: 271.2 kB / 376.8 MB, free: 26.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.009716, allocations: 179.5 kB / 376.9 MB, free: 26.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.00975, allocations: 20 kB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.253e-05/0.009782, allocations: 24 kB / 377 MB, free: 26.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.00987, allocations: 107.7 kB / 377.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.009959, allocations: 99.75 kB / 377.2 MB, free: 26.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.01019, allocations: 235.1 kB / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.01019, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.01019, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01019, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.7 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.003647/0.01384, allocations: 0.6409 MB / 378 MB, free: 25.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.01387, allocations: 8.031 kB / 378 MB, free: 25.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.01394, allocations: 64.69 kB / 378.1 MB, free: 25.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.01422, allocations: 279.3 kB / 378.4 MB, free: 24.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.01423, allocations: 16.88 kB / 378.4 MB, free: 24.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.01426, allocations: 16.38 kB / 378.4 MB, free: 24.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.01447, allocations: 246.9 kB / 378.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01448, allocations: 3.938 kB / 378.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.0145, allocations: 12 kB / 378.7 MB, free: 24.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.01451, allocations: 8 kB / 378.7 MB, free: 24.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.01462, allocations: 91.28 kB / 378.8 MB, free: 24.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.01545, allocations: 1.489 MB / 380.3 MB, free: 22.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.01563, allocations: 110.1 kB / 380.4 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.01567, allocations: 39.36 kB / 380.4 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.01569, allocations: 7.938 kB / 380.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.01571, allocations: 37.39 kB / 380.5 MB, free: 22.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01571, allocations: 0 / 380.5 MB, free: 22.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003963/0.0161, allocations: 184.3 kB / 380.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.01613, allocations: 85.09 kB / 380.7 MB, free: 22.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01626, allocations: 302.2 kB / 381 MB, free: 21.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.01627, allocations: 29.7 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.01635, allocations: 254.7 kB / 381.3 MB, free: 21.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.01638, allocations: 51.62 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.01643, allocations: 47.47 kB / 381.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.01649, allocations: 0.5118 MB / 381.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.01953, allocations: 19.97 kB / 381.9 MB, free: 20.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.01961, allocations: 173.3 kB / 382.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.01975, allocations: 203 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01975, allocations: 4 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002002/0.01995, allocations: 192.9 kB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01996, allocations: 8 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01997, allocations: 7.984 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01998, allocations: 4 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.0201, allocations: 47.92 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.02011, allocations: 7.984 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.02019, allocations: 4 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.0202, allocations: 12.34 kB / 382.6 MB, free: 20.2 MB / 314.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 (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 6.826e-05/0.02027, allocations: 168.5 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.02031, allocations: 35.8 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.02048, allocations: 135.3 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.02048, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02049, allocations: 7.938 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.02049, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.0208, allocations: 424.1 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.0208, allocations: 0 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.02089, allocations: 31.92 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.02089, allocations: 32 / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.0209, allocations: 8 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.0209, allocations: 8 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0209, allocations: 0 / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.02105, allocations: 297.1 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.02108, allocations: 19.81 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.0211, allocations: 7.984 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.02118, allocations: 4 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.0212, allocations: 7.984 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.02121, allocations: 4 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.023e-05/0.02128, allocations: 206.9 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02128, allocations: 4 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000277/0.02156, allocations: 48 kB / 384 MB, free: 18.73 MB / 314.7 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 7.043e-05/0.02163, allocations: 103.2 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.02177, allocations: 99.42 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.02177, allocations: 0.875 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.02182, allocations: 47.59 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.02219, allocations: 63.7 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.02602, allocations: 0.5112 MB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.02608, allocations: 96.28 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.546e-05/0.02616, allocations: 30.28 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.02627, allocations: 122.2 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02628, allocations: 0 / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of Templates: time 0.007404/0.03368, allocations: 2.478 MB / 387.5 MB, free: 15.18 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.098014624789357]