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.001853/0.001853, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002398/0.002398, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.533/1.533, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.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.1867/0.1867, allocations: 38.55 MB / 353.2 MB, free: 12.33 MB / 286.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.002166/0.002166, allocations: 78.55 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2889, allocations: 62.46 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005726/0.2946, allocations: 3.989 MB / 0.5471 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2963, allocations: 0.8637 MB / 0.5479 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.2965, allocations: 22.56 kB / 0.5479 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2968, allocations: 52.41 kB / 0.548 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.2973, allocations: 180.2 kB / 0.5481 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2976, allocations: 92.41 kB / 0.5482 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.2981, allocations: 407.3 kB / 0.5486 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2983, allocations: 77.33 kB / 0.5487 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.2987, allocations: 198.6 kB / 0.5489 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.2991, allocations: 204.2 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.2991, allocations: 19.94 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.2992, allocations: 21.25 kB / 0.5491 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2993, allocations: 107 kB / 0.5492 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2994, allocations: 126.5 kB / 0.5493 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.2999, allocations: 317.5 kB / 0.5496 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2999, allocations: 4 kB / 0.5497 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2999, allocations: 0.875 kB / 0.5497 GB, free: 11.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2999, allocations: 0 / 0.5497 GB, free: 11.58 MB / 398.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.001134/0.301, allocations: 0.5559 MB / 0.5502 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.301, allocations: 13.3 kB / 0.5502 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.3011, allocations: 33.28 kB / 0.5502 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.3017, allocations: 284.2 kB / 0.5505 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.3017, allocations: 21.22 kB / 0.5505 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.3018, allocations: 30.69 kB / 0.5506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.3023, allocations: 311.7 kB / 0.5509 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3023, allocations: 3.938 kB / 0.5509 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.3023, allocations: 10.78 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3023, allocations: 6.094 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.3027, allocations: 214.8 kB / 0.5511 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.3043, allocations: 1.224 MB / 0.5523 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.3047, allocations: 139.9 kB / 0.5524 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3048, allocations: 57.66 kB / 0.5525 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3048, allocations: 1.906 kB / 0.5525 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3048, allocations: 36.5 kB / 0.5525 GB, free: 9.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.3048, allocations: 0 / 0.5525 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008762/0.3057, allocations: 372.7 kB / 0.5529 GB, free: 8.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3058, allocations: 83.8 kB / 0.5529 GB, free: 8.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.306, allocations: 265.5 kB / 0.5532 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3061, allocations: 25.7 kB / 0.5532 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3062, allocations: 207.5 kB / 0.5534 GB, free: 8.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.3063, allocations: 49.2 kB / 0.5535 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.3063, allocations: 45.5 kB / 0.5535 GB, free: 8.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3065, allocations: 340.6 kB / 0.5538 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.3066, allocations: 55.86 kB / 0.5539 GB, free: 8.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3068, allocations: 149.2 kB / 0.554 GB, free: 7.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.3071, allocations: 232.9 kB / 0.5542 GB, free: 7.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3071, allocations: 5.344 kB / 0.5543 GB, free: 7.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003834/0.3075, allocations: 241.5 kB / 0.5545 GB, free: 7.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3075, allocations: 6.281 kB / 0.5545 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3075, allocations: 4.75 kB / 0.5545 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3075, allocations: 12.73 kB / 0.5545 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3077, allocations: 52 kB / 0.5546 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.3077, allocations: 8.562 kB / 0.5546 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3079, allocations: 12.7 kB / 0.5546 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3079, allocations: 9.375 kB / 0.5546 GB, free: 7.516 MB / 398.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.0001728/0.3081, allocations: 166.6 kB / 0.5547 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3081, allocations: 31.3 kB / 0.5548 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.3085, allocations: 187.5 kB / 0.555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3085, allocations: 2.531 kB / 0.555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3085, allocations: 0 / 0.555 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3085, allocations: 5.281 kB / 0.555 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.3092, allocations: 484.4 kB / 0.5554 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3092, allocations: 0 / 0.5554 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3093, allocations: 30.33 kB / 0.5555 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3093, allocations: 2.594 kB / 0.5555 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3093, allocations: 1.094 kB / 0.5555 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3093, allocations: 5.188 kB / 0.5555 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3093, allocations: 4.938 kB / 0.5555 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.3097, allocations: 298.5 kB / 0.5557 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.3097, allocations: 34.64 kB / 0.5558 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3098, allocations: 6.281 kB / 0.5558 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3099, allocations: 10.42 kB / 0.5558 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3099, allocations: 11.64 kB / 0.5558 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3099, allocations: 4.531 kB / 0.5558 GB, free: 6.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3101, allocations: 188.4 kB / 0.556 GB, free: 6.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3101, allocations: 0 / 0.556 GB, free: 6.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.3105, allocations: 49.12 kB / 0.556 GB, free: 6.418 MB / 398.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 0.0001123/0.3106, allocations: 96.38 kB / 0.5561 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3109, allocations: 156.3 kB / 0.5563 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3109, allocations: 0 / 0.5563 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.311, allocations: 65.84 kB / 0.5563 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3115, allocations: 57.78 kB / 0.5564 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.3125, allocations: 0.575 MB / 0.557 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3127, allocations: 174.2 kB / 0.5571 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.3127, allocations: 23.42 kB / 0.5571 GB, free: 5.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3127, allocations: 0 / 0.5571 GB, free: 5.406 MB / 398.1 MB Notification: Performance of Templates: time 0.005964/0.3187, allocations: 3.348 MB / 0.5604 GB, free: 2.07 MB / 398.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 -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: 7.7208748161792755]