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.002083/0.002083, allocations: 87.67 kB / 20.95 MB, free: 3.457 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.002121/0.002121, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 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 1.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3151/0.3151, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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=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.422e-06/1.422e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.297e-05, allocations: 5.922 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006984/0.007017, allocations: 4.136 MB / 373 MB, free: 7.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.008814, allocations: 0.8842 MB / 373.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.008996, allocations: 11.88 kB / 373.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.009277, allocations: 51.5 kB / 374 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.009965, allocations: 198.7 kB / 374.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.01023, allocations: 79.83 kB / 374.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008509/0.01108, allocations: 418.4 kB / 374.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.01132, allocations: 78.62 kB / 374.7 MB, free: 5.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.01179, allocations: 255.1 kB / 375 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.01221, allocations: 191.5 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.01226, allocations: 24 kB / 375.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.01233, allocations: 23.94 kB / 375.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.01249, allocations: 111.6 kB / 375.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.01265, allocations: 99.77 kB / 375.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005589/0.01321, allocations: 311 kB / 375.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01321, allocations: 0 / 375.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01321, allocations: 0 / 375.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.01322, allocations: 3.938 kB / 375.7 MB, free: 4.434 MB / 346.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.001384/0.0146, allocations: 0.6757 MB / 376.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01464, allocations: 11.98 kB / 376.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.01477, allocations: 56.7 kB / 376.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.0155, allocations: 298.4 kB / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.01553, allocations: 16.88 kB / 376.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.01558, allocations: 24.38 kB / 376.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.01614, allocations: 275 kB / 377.1 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01616, allocations: 3.938 kB / 377.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01619, allocations: 8 kB / 377.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.01621, allocations: 8 kB / 377.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.01652, allocations: 133.8 kB / 377.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.01862, allocations: 1.548 MB / 378.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.01898, allocations: 130.1 kB / 378.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.01908, allocations: 51.36 kB / 378.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.01911, allocations: 7.984 kB / 379 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.01915, allocations: 41.33 kB / 379 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.01916, allocations: 0 / 379 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008213/0.01998, allocations: 300.6 kB / 379.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.02005, allocations: 85.09 kB / 379.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.02042, allocations: 350.2 kB / 379.7 MB, free: 172 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.02045, allocations: 29.7 kB / 379.7 MB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.02069, allocations: 258.8 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.02074, allocations: 51.7 kB / 380 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.02084, allocations: 55.36 kB / 380.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003363/0.02118, allocations: 0.5196 MB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.02127, allocations: 39.91 kB / 380.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.02152, allocations: 182.6 kB / 380.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.02187, allocations: 230.4 kB / 381.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.02187, allocations: 0 / 381.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004001/0.02227, allocations: 233 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.02229, allocations: 7.938 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.0223, allocations: 4 kB / 381.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.02233, allocations: 4 kB / 381.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.02253, allocations: 51.91 kB / 381.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.02255, allocations: 8 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.02268, allocations: 8 kB / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.0227, allocations: 8.406 kB / 381.4 MB, free: 14.34 MB / 362.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 0.0004054/0.0231, allocations: 184.5 kB / 381.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.02316, allocations: 31.8 kB / 381.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.02349, allocations: 155.4 kB / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.0235, allocations: 0 / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.0235, allocations: 4 kB / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.02351, allocations: 0 / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000765/0.02427, allocations: 0.5164 MB / 382.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02428, allocations: 0 / 382.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.02443, allocations: 39.92 kB / 382.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.02444, allocations: 4.031 kB / 382.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.02445, allocations: 4 kB / 382.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.02445, allocations: 0 / 382.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02445, allocations: 0 / 382.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.02487, allocations: 322.9 kB / 382.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.02492, allocations: 31.81 kB / 382.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.02495, allocations: 3.984 kB / 382.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.02507, allocations: 8 kB / 382.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.02511, allocations: 7.984 kB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.02513, allocations: 4 kB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002464/0.02537, allocations: 238.9 kB / 382.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02537, allocations: 4 kB / 382.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.02571, allocations: 48 kB / 383 MB, free: 12.66 MB / 362.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 0.0001476/0.02586, allocations: 99.12 kB / 383.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.02618, allocations: 134.2 kB / 383.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02619, allocations: 0.875 kB / 383.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.02633, allocations: 67.66 kB / 383.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.02686, allocations: 59.53 kB / 383.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.02786, allocations: 0.4904 MB / 383.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.02807, allocations: 178.1 kB / 384 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.02821, allocations: 42.25 kB / 384 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.02827, allocations: 20.5 kB / 384 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02827, allocations: 0 / 384 MB, free: 11.52 MB / 362.7 MB Notification: Performance of Templates: time 0.0066/0.03487, allocations: 2.267 MB / 386.3 MB, free: 9.305 MB / 362.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","/var/lib/jenkins/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: 4.7543403879972175]