Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.001309/0.001309, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009692/0.0009692, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2691/0.2691, allocations: 29.41 MB / 291.2 MB, free: 2.422 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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.405e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005657/0.005681, allocations: 5.938 MB / 322.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.00879, allocations: 2.134 MB / 325 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.009136, allocations: 35.69 kB / 325 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008302/0.009967, allocations: 374 kB / 325.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008538/0.01082, allocations: 0.5516 MB / 325.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.01149, allocations: 371 kB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.01256, allocations: 1.329 MB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.01318, allocations: 0.5762 MB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009391/0.01411, allocations: 0.8107 MB / 329 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.01484, allocations: 0.604 MB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.01497, allocations: 92 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008666/0.01584, allocations: 0.5382 MB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.01623, allocations: 486.8 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.01655, allocations: 371.2 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.0176, allocations: 1.048 MB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.0176, allocations: 0 / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0176, allocations: 0 / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.01763, allocations: 4 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001702/0.01933, allocations: 1.156 MB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01936, allocations: 11.98 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006211/0.01998, allocations: 216.7 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.0206, allocations: 0.5069 MB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.02079, allocations: 325.9 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.02093, allocations: 88.67 kB / 334.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008444/0.02177, allocations: 0.8032 MB / 335.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.02179, allocations: 3.984 kB / 335.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.02185, allocations: 32 kB / 335.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/0.02194, allocations: 61.97 kB / 335.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.02244, allocations: 360.4 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.02593, allocations: 3.435 MB / 339.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.02647, allocations: 400.4 kB / 339.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.02672, allocations: 197.9 kB / 339.7 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.02677, allocations: 16.64 kB / 339.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.0268, allocations: 39.22 kB / 339.7 MB, free: 8.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.0268, allocations: 0 / 339.7 MB, free: 8.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.00166/0.02846, allocations: 1.029 MB / 340.8 MB, free: 7.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.0285, allocations: 85.77 kB / 340.9 MB, free: 7.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.02872, allocations: 371.1 kB / 341.2 MB, free: 7.152 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.02875, allocations: 33.7 kB / 341.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.02891, allocations: 369.2 kB / 341.6 MB, free: 6.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.02904, allocations: 269.7 kB / 341.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.0292, allocations: 134.6 kB / 342 MB, free: 6.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.02931, allocations: 374.6 kB / 342.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.02946, allocations: 120.8 kB / 342.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.02969, allocations: 307.9 kB / 342.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.03041, allocations: 0.4918 MB / 343.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.03041, allocations: 4 kB / 343.3 MB, free: 4.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001212/0.03162, allocations: 0.7927 MB / 344.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.03164, allocations: 12.16 kB / 344.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009252/0.03257, allocations: 0.5715 MB / 344.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.03356, allocations: 494.6 kB / 345.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.03388, allocations: 139.8 kB / 345.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.03732, allocations: 3.95 MB / 349.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.03763, allocations: 43.98 kB / 349.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.03767, allocations: 23.98 kB / 349.3 MB, free: 14.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.03789, allocations: 156.5 kB / 349.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.03802, allocations: 59.95 kB / 349.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.03862, allocations: 479.8 kB / 350 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.03863, allocations: 12 kB / 350 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.03863, allocations: 0 / 350 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.03864, allocations: 3.984 kB / 350 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.04034, allocations: 1.077 MB / 351.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.04034, allocations: 0 / 351.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.0414, allocations: 395.5 kB / 351.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.144e-05/0.04146, allocations: 28.84 kB / 351.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.0415, allocations: 12 kB / 351.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006418/0.04214, allocations: 1.454 MB / 352.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.04215, allocations: 11.88 kB / 353 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.04294, allocations: 0.7259 MB / 353.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.043, allocations: 55.55 kB / 353.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.04305, allocations: 16.06 kB / 353.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.04325, allocations: 31.97 kB / 353.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.04336, allocations: 52.56 kB / 353.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.04339, allocations: 12 kB / 353.8 MB, free: 9.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.0435, allocations: 148.7 kB / 354 MB, free: 9.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0435, allocations: 0 / 354 MB, free: 9.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006587/0.04416, allocations: 231.9 kB / 354.2 MB, free: 9.543 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/0.04436, allocations: 114 kB / 354.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009362/0.0453, allocations: 0.7731 MB / 355.1 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.04531, allocations: 4 kB / 355.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.04611, allocations: 0.5315 MB / 355.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.04658, allocations: 159.8 kB / 355.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.04914, allocations: 1.642 MB / 357.4 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.04933, allocations: 247.2 kB / 357.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000233/0.04956, allocations: 81.2 kB / 357.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.04986, allocations: 173.3 kB / 357.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.04986, allocations: 0 / 357.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of Templates: time 0.01538/0.06525, allocations: 12.86 MB / 370.8 MB, free: 9.027 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.392487862147391]