Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001301/0.001301, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001565/0.001565, allocations: 166.2 kB / 24.99 MB, free: 8.336 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 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2643/0.2643, allocations: 29.41 MB / 291.2 MB, free: 2.504 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.938 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.59e-05, allocations: 5.969 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004958/0.004984, allocations: 4.646 MB / 374.3 MB, free: 6.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.006567, allocations: 1.394 MB / 375.7 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.006732, allocations: 19.81 kB / 375.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.007352, allocations: 310.5 kB / 376 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.007711, allocations: 294.3 kB / 376.3 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.008137, allocations: 263.2 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.008605, allocations: 0.6702 MB / 377.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.00889, allocations: 204.5 kB / 377.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.00928, allocations: 406.8 kB / 377.8 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.009741, allocations: 403 kB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.009796, allocations: 44 kB / 378.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.01007, allocations: 231.5 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.01024, allocations: 259.4 kB / 378.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.0104, allocations: 199.5 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.01092, allocations: 0.6191 MB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01092, allocations: 7.984 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01092, allocations: 0 / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.01093, allocations: 0 / 379.5 MB, free: 1.367 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.0009657/0.01189, allocations: 0.9239 MB / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.01193, allocations: 11.98 kB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.01242, allocations: 180.4 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.01311, allocations: 386.6 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.01313, allocations: 29.36 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.01318, allocations: 40.38 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.01383, allocations: 0.6613 MB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01385, allocations: 7.891 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.01389, allocations: 19.98 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/0.01398, allocations: 64.94 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.01449, allocations: 475.2 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.01645, allocations: 2.733 MB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.01689, allocations: 384.4 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.01712, allocations: 274 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.01715, allocations: 11.94 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.01717, allocations: 37.38 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.034e-06/0.01717, allocations: 4 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002043/0.01922, allocations: 1.414 MB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.0193, allocations: 138.7 kB / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.01961, allocations: 350.2 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.01965, allocations: 29.7 kB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.01984, allocations: 307.7 kB / 388 MB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.01996, allocations: 198.5 kB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.02016, allocations: 107.8 kB / 388.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.02033, allocations: 0.5274 MB / 388.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.02068, allocations: 254.7 kB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.02118, allocations: 449.5 kB / 389.5 MB, free: 6.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.022, allocations: 0.7216 MB / 390.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.022, allocations: 3.938 kB / 390.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001262/0.02327, allocations: 0.7878 MB / 391 MB, free: 5.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/0.02334, allocations: 75 kB / 391.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.02335, allocations: 8 kB / 391.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.02353, allocations: 27.67 kB / 391.1 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.02383, allocations: 87.88 kB / 391.2 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.02496, allocations: 1.814 MB / 393 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.02521, allocations: 31.91 kB / 393 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.02528, allocations: 31.98 kB / 393.1 MB, free: 3.078 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.0255, allocations: 250.2 kB / 393.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.02563, allocations: 67.66 kB / 393.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009131/0.02655, allocations: 0.7673 MB / 394.1 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.02657, allocations: 15.98 kB / 394.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02657, allocations: 0 / 394.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.02658, allocations: 0 / 394.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.02875, allocations: 1.332 MB / 395.5 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.02875, allocations: 0 / 395.5 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.02897, allocations: 63.83 kB / 395.5 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.02908, allocations: 27.67 kB / 395.6 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.02912, allocations: 16 kB / 395.6 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.03015, allocations: 1.811 MB / 397.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.03015, allocations: 4 kB / 397.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.03122, allocations: 0.9531 MB / 398.4 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.0314, allocations: 91.66 kB / 398.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.03146, allocations: 19.92 kB / 398.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.0317, allocations: 23.97 kB / 398.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.03183, allocations: 43.94 kB / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.03186, allocations: 19.98 kB / 398.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.03201, allocations: 219 kB / 398.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03201, allocations: 0 / 398.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000571/0.03258, allocations: 144 kB / 398.9 MB, free: 12.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002607/0.03284, allocations: 151 kB / 399.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.03395, allocations: 0.9658 MB / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.03396, allocations: 0 / 400 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.03438, allocations: 0.6214 MB / 400.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.03473, allocations: 71.77 kB / 400.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.03657, allocations: 1.224 MB / 401.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.958e-05/0.03667, allocations: 173.6 kB / 402.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.03681, allocations: 91.17 kB / 402.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.03687, allocations: 28.5 kB / 402.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.03688, allocations: 0 / 402.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of Templates: time 0.007982/0.04486, allocations: 6.232 MB / 408.5 MB, free: 3.301 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.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.221508133923635]